POST
/
api
/
team
/
integrations
/
twilio
/
create
curl --request POST \
  --url https://brainbase-monorepo-api.onrender.com/api/team/integrations/twilio/create \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "accountSid": "<string>",
  "authToken": "<string>"
}'
{
  "id": "<string>",
  "appType": "<string>",
  "config": {},
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "teamId": "<string>",
  "workerId": "<string>"
}

Authorizations

x-api-key
string
header
required

API key authentication

Body

application/json
Twilio integration configuration details.
accountSid
string
required
authToken
string
required

Provide the plain text auth token. It will be encrypted before being stored.

Response

201
application/json
Twilio integration created successfully.
id
string
required
appType
string
required
config
object
required
createdAt
string
required
updatedAt
string
required
teamId
string | null
workerId
string | null