# Buy a number at Praecise Inbox for the project owner's account and use it here

`POST /numbers` · Rivier · voice

Buy a number at Praecise Inbox for the project owner's account and use it here; refused while Inbox has not opened buying.

- Scope: voice:write
- Mcp: rivier_personas_number_buy
- Graphql: Mutation.voiceNumberBuy
- Sdk: voice.number.buy
- Cli: voice number buy

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "number": {
      "type": "string",
      "pattern": "^\\+\\d{6,15}$"
    },
    "label": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    }
  },
  "required": [
    "number",
    "label"
  ],
  "additionalProperties": true
}
```

## 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/numbers' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "number": "string",
  "label": "string"
}'
```
