Skip to content

API reference

Configure phone number

support.ConfigurePhoneNumberWriteAPI key

Set the answering voice and language for a rented support number. If activation is still in progress, saving retries activation and reports whether the number is ready.

POST/v1/operations/support.ConfigurePhoneNumber
On this page

Access & visibility

Allow support.ConfigurePhoneNumber on your API key.

Workspace access by default. Private member data requires approved member delegation through Brigg-Act-As; the key supplies permissions while private ownership and project boundaries remain enforced.

Set up authentication · Choose permissions

Request fields

Send a JSON object with the following fields. Required fields must be included; omit optional fields you do not need.

e164stringRequired

Existing rented number from List phone numbers, including the leading + and country calling code.

At least 3 characters.

settingsobjectRequired

Complete replacement of user-editable phone settings. Server-managed routing and greeting configuration are preserved.

Nested fields
voice_idstringRequired

Required compatibility value; currently does not change the receptionist's live voice. Preserve the existing value, or use the documented default in the example.

At least 1 character. At most 120 characters.

languagestringOptional

Language tag such as en, no, sv or da. Defaults to no when omitted; omission does not preserve a previously saved language.

Default: "no". At least 2 characters. At most 16 characters.

Configure an existing number

Get e164 from List phone numbers. This operation configures an already rented number; it does not rent a number.

Send the complete settings pair. settings replaces the user-editable settings, while Brigg preserves its own routing configuration. Omitting language resets it to no (Norwegian), rather than keeping its previous value. Use a language tag such as en, no, sv or da.

voice_id is currently retained for compatibility: changing it does not select the live receptionist's voice. Use the example's default when you have no saved value to preserve. Greeting and transfer instructions belong to the inbox playbook, not this object.

Settings saved does not mean calls are active

ok: true confirms the settings save. A number still provisioning also returns activated: false means carrier activation is incomplete, and detail gives its reported state; true means activation completed. When no activation attempt was needed, activated is absent.

Check List phone numbers for provisioning progress. Do not release and rent the number again to recover a pending activation. The separate Set phone number enabled operation controls whether its inbox accepts calls.

Response

Returns 200 OK with a JSON body.

okbooleanRequired

Whether the action completed successfully.

activatedbooleanOptional

Present only when the number was still provisioning: true if activation completed, false if the carrier is not ready. Absence does not mean false.

detailstringOptional

Carrier state explaining activated: false. The settings save has already succeeded.

Errors & retries

Set BRIGG_REQUEST_ID once for each logical action. The samples send it as Idempotency-Key. Reuse the same value and body on retries, including after a timeout; a missing response does not prove the action failed.

For rate limits, follow the server’s retry guidance and back off. See HTTP errors and safe retries and limits.

HTTP status Code What to do
400 invalid_json Send a JSON object with Content-Type: application/json.
400 invalid_input Check the request fields and types. Supply a stable Idempotency-Key containing 1–200 characters.
401 invalid_key The workspace API key is missing, invalid or revoked.
403 forbidden Check the key’s operation and resource grants. If Brigg-Act-As is supplied, the key must be authorized to delegate to that member.
404 not_found The requested operation or resource is not available to this credential.
429 rate_limited Wait for Retry-After before retrying. Reuse the original Idempotency-Key.

Next steps

Download OpenAPI · Versioning & retirement

JSON schemas

Use the complete schemas for validation or client generation.

Full request JSON schema
{
  "type": "object",
  "properties": {
    "e164": {
      "type": "string",
      "minLength": 3,
      "description": "Existing rented number from [List phone numbers](/developers/reference/support/ListPhoneNumbers), including the leading + and country calling code."
    },
    "settings": {
      "type": "object",
      "properties": {
        "voice_id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "description": "Required compatibility value; currently does not change the receptionist's live voice. Preserve the existing value, or use the documented default in the example."
        },
        "language": {
          "type": "string",
          "minLength": 2,
          "maxLength": 16,
          "default": "no",
          "description": "Language tag such as en, no, sv or da. Defaults to no when omitted; omission does not preserve a previously saved language."
        }
      },
      "required": [
        "voice_id"
      ],
      "additionalProperties": false,
      "description": "Complete replacement of user-editable phone settings. Server-managed routing and greeting configuration are preserved."
    }
  },
  "required": [
    "e164",
    "settings"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "e164": "+4721001234",
      "settings": {
        "voice_id": "xF681s0UeE04gsf0mVsJ",
        "language": "en"
      }
    }
  ]
}
Full response JSON schema
{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "description": "Whether the action completed successfully."
    },
    "activated": {
      "type": "boolean",
      "description": "Present only when the number was still provisioning: true if activation completed, false if the carrier is not ready. Absence does not mean false."
    },
    "detail": {
      "type": "string",
      "description": "Carrier state explaining activated: false. The settings save has already succeeded."
    }
  },
  "required": [
    "ok"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "ok": true
    }
  ]
}

Search by operation name or what you want to build.

Use arrow keys to browse. Enter opens a result.