POST
/
v1
/
teams
/
{teamId}
/
routing
curl --request POST \
  --url https://platform.thena.ai/v1/teams/{teamId}/routing \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "description": "<string>",
  "evaluationOrder": 123,
  "name": "<string>",
  "resultTeamId": "<string>",
  "andRules": [
    "<string>"
  ],
  "orRules": [
    "<string>"
  ]
}'
{
  "status": true,
  "message": "Success",
  "timestamp": "2024-01-01T00:00:00.000Z",
  "data": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "teamId": "<string>",
    "evaluationOrder": 123,
    "resultTeamId": "<string>",
    "fallbackTeamId": "<string>",
    "andRules": [
      "<string>"
    ],
    "orRules": [
      "<string>"
    ],
    "createdBy": "<string>",
    "createdAt": "<string>",
    "createdById": "<string>",
    "updatedAt": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Enter your API key

Path Parameters

teamId
string
required

Body

application/json

Response

201
application/json

Operation successful

The response is of type object.