Reserve a DNI (Dynamic Number Insertion) for an incoming call.
Reserves a DNI, associating a temporary set of attributes to a specific virtual agent.
post/v1/conversations/dni-reservation
Request
- Base URLhttps://api.us.poly.ai
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"attributes": {
"shared_id": "1234",
"customer": {
"address": "test lane",
"age": 25
},
"previous_calls": [
"call_id_1",
"call_id_2"
]
}
}Response
Successfully reserved a DNI.
Changes
No recorded changes to this operation across all 1 revision of this API.