Skip to content

Connect inbox whatsapp

POST/admin/v1/stores/{store_id}/inbox/channels/whatsapp
  • Idempotency-Key supported

Connects the store's own WhatsApp number with what Meta's Embedded Signup handed the browser. Every WhatsApp message of the store goes out on it from then on. , by a person.

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

Headers

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • codestringrequired
  • accepts_commerce_policybooleanrequired

    The store sells nothing WhatsApp's Commerce Policy forbids.

  • waba_idstring · or null
  • phone_number_idstring · or null

Returns

201 Connected.

Errors

  • 409Not set up here (not_set_up), not shared with snizu (not_granted), connected to another store (connected_elsewhere), or Meta refused (meta_refused).
  • 422validation_failedThe Commerce Policy wasn't confirmed.