POST
/
v1
/
conversations
/
dni-reservation
curl --request POST \
  --url https://api.us-1.platform.polyai.app/v1/conversations/dni-reservation \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "attributes": {
    "shared_id": "1234",
    "customer": {
      "address": "test lane",
      "age": 25
    },
    "previous_calls": [
      "call_id_1",
      "call_id_2"
    ]
  }
}'
{
  "dni": "+12345"
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

200
application/json
Successfully reserved a DNI

The response is of type object.