X-API-Key: ********************curl --location 'https://api.snakk.ai/api/phone-numbers//assign' \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"agentId": "bc309ecf-5f66-4057-93c5-6611cc9cb7b2"
}'{
"message": "Phone number assigned successfully",
"phone_number": "+4712345678",
"agent": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string"
},
"dispatch_rule_id": "string",
"note": "Call routing rule created automatically!"
}