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"
}
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"
}
API key authentication
Phone number registered successfully.
The response is of type object
.