# Add a sender name or a WhatsApp number

`POST /phone/senders` · Rivier · voice

Add a sender name or a WhatsApp number. A name that a country wants registered waits until the registration is approved.

- Scope: voice:write
- Graphql: Mutation.voicePhoneSenderAdd
- Sdk: voice.phoneSender.add
- Cli: voice phone sender add

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "alphanumeric",
        "whatsapp"
      ]
    },
    "value": {
      "type": "string",
      "minLength": 3,
      "maxLength": 20
    },
    "countries": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 2,
        "maxLength": 2
      },
      "maxItems": 30
    }
  },
  "required": [
    "kind",
    "value"
  ],
  "additionalProperties": false
}
```

## Responses

- `201`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/phone/senders' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "kind": "alphanumeric",
  "value": "string"
}'
```
