POST
/
api
/
team
/
assets
/
register_phone_number
curl --request POST \
  --url https://brainbase-monorepo-api.onrender.com/api/team/assets/register_phone_number \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "phoneNumber": "<string>",
  "integrationId": "<string>"
}'
{
  "id": "<string>",
  "phoneNumber": "<string>",
  "provider": "<string>",
  "integrationId": "<string>",
  "workerId": "<string>",
  "teamId": "<string>",
  "countryCode": "<string>",
  "callerName": "<string>",
  "metadata": {},
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

API key authentication

Body

application/json

Response

201
application/json

Phone number registered successfully.

The response is of type object.