Create WhatsApp For Business Number
POST/whatsapp-number
Provisions a new WhatsApp For Business mobile number for the customer with the given external_id. When no subscription exists for the external_id, the company and customer details are required and a new customer is created.
Messages received on the number are delivered to your webhook as an sms.received event when you have a webhook configured, and are otherwise emailed to the forwarding_email_address. See https://docs.hoxtonmix.com/api/webhooks for details.
Request
Responses
- 200
- 400
WhatsApp For Business number created
Bad request - invalid parameters supplied. Also returned when no subscription exists for the external_id and the company and customer details were not provided, when the product_id is not a WhatsApp For Business product assigned to your account, or when your account does not handle KYC for its customers.