Add a sender name or a WhatsApp number
post/phone/senders
Add a sender name or a WhatsApp number. A name that a country wants registered waits until the registration is approved.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
voice:write- Graphql
Mutation.voicePhoneSenderAdd- Sdk
voice.phoneSender.add- Cli
voice phone sender add
Request bodyapplication/json, required
- kindstringrequiredOne of: alphanumeric, whatsapp.
- valuestringrequiredAt most 20 characters.
- countrieslist of string
Responses
- 201application/jsonSuccess
- idstringrequired
- kindstringrequiredOne of: number, alphanumeric, whatsapp.
- valuestringrequired
- countrieslist of stringrequired
- statusstringrequiredOne of: active, pending, rejected, needs_owner.
- notestringrequired
- oneWaybooleanrequired
- numberIdstring or nullrequired
- createdAtstringrequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring