Skip to main content
POST
/
business_accounts
Create a business account (manual)
curl --request POST \
  --url https://whatsrb.com/api/v1/business_accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "business_account": {
    "waba_id": "<string>",
    "phone_number_id": "<string>",
    "business_name": "<string>",
    "display_name": "<string>",
    "phone_number": "+33612345678",
    "meta_access_token": "<string>"
  }
}
'
{
  "data": {
    "id": "<string>",
    "waba_id": "<string>",
    "business_name": "<string>",
    "phone_number_id": "<string>",
    "phone_number": "<string>",
    "display_name": "<string>",
    "status": "<string>",
    "quality_rating": "<string>",
    "connected": true,
    "meta_token_expires_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key from the WhatsRB dashboard. Format: Bearer wrb_live_xxx

Body

application/json
business_account
object
required

Response

Created

data
object