Assets
Register a phone number for the team via Twilio integration.
Assets
Voice Deployment Logs
Voice Deployments
Flows
Integrations
Tests
Voice V1 Deployments
- GETGet all voice v1 deployments for a worker
- POSTCreate a new voice v1 deployment
- GETGet a single voice v1 deployment
- PUTUpdate a voice v1 deployment
- DELDelete a voice v1 deployment
- POSTCreate a new campaign for a voice v1 deployment
- POSTMake batch calls for a voice v1 deployment
- POSTRun a campaign with provided data
- GETGet a campaign by ID
- GETGet specific campaign data by ID
- PUTUpdate specific campaign data by ID
Assets
Register a phone number for the team via Twilio integration.
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
API key authentication
Body
application/json
Response
201
application/json
Phone number registered successfully.
The response is of type object
.
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"
}