cURL
curl --request POST \ --url http://localhost:8000/api/telephony/numbers/assign \ --header 'Content-Type: application/json' \ --data ' { "agent_id": "<string>", "phone_number": "<string>" } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>", "input": "<unknown>", "ctx": {} } ] }
Assign an already-owned Twilio number to an agent (no purchase).
Successful Response