curl --request POST \
--url https://prod.featherhq.com/api/v1/phone-number/inbound/{id}/dispatch-rule \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"agentId": "<string>"
}'
{
"success": true,
"displayMessage": "<string>"
}
curl --request POST \
--url https://prod.featherhq.com/api/v1/phone-number/inbound/{id}/dispatch-rule \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"agentId": "<string>"
}'
{
"success": true,
"displayMessage": "<string>"
}
Dispatch rule created successfully
The response is of type object
.