POST
/
calls
curl --request POST \
  --url https://api.mesinalabs.com/v1/calls \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "assistantId": "<string>",
  "fromNumber": "<string>",
  "toNumber": "<string>",
  "callbackUrl": "<string>",
  "mesinaCode": "<string>",
  "priority": "low",
  "tags": [
    "<string>"
  ]
}'
{
  "callId": "<string>",
  "assistantId": "<string>",
  "startTime": "2023-11-07T05:31:56Z",
  "endTime": "2023-11-07T05:31:56Z",
  "status": "<string>",
  "reason": "<string>",
  "cost": 123,
  "duration": 123,
  "fromNumber": "<string>",
  "toNumber": "<string>",
  "mesinaCode": "<string>"
}

Authorizations

Authorization
string
header
required

El bearer token es generado por nosotros, y está disponible en tu dashboard

Body

application/json

Crea una nueva llamada, algunos parámetros serán inferidos, podrás modificar estas configuraciones en tu dashboard

The body is of type object.

Response

200
application/json

Respuesta exitosa

The response is of type object.