Channels and templates
Get WhatsApp settings
Returns which WhatsApp number the desk uses and which queue receives its messages.
Requires: desk.read scope, Converse licence.
Authorization
bearerAuth AuthorizationBearer <token>
A SautiDesk API key. An owner or admin makes it under Settings in SautiDesk for a named person and picks the scopes. The key is shown once. Send it as Authorization: Bearer <key>. It acts as that person and as nobody else.
In: header
Response
OK
Example
{ "number_id": "b0115061-3d05-4f38-9ad8-38cb3cc28550", "e164": "+254712345678", "phone_number_id": "cfe03fe0-f54f-4f29-9e10-0d48d28829af", "waba_id": "3afc867a-7f4f-478d-963b-729cf4dd9b8c", "configured": false, "queue_id": "c70c2d37-4d65-4ba4-9843-5e8aaf2dae40", "queue_name": "Support"}FieldTypeDescription
number_idstring (uuid)The id of the WhatsApp number to use.e164stringphone_number_idstringwaba_idstringconfiguredrequiredbooleanTrue once the email settings have been filled in.queue_idstringThe id of the queue that receives what arrives here.queue_namestringcurl -X GET "https://api.sautidesk.com/v1/desk/whatsapp/settings"