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
phoneNumber
string
required
integrationId
string
required

Response

201
application/json
Phone number registered successfully.
id
string
required
phoneNumber
string
required
provider
string
required
integrationId
string
required
createdAt
string
required
updatedAt
string
required
workerId
string | null
teamId
string | null
countryCode
string | null
callerName
string | null
metadata
object | null