cURL
curl --request POST \ --url https://api.getarbol.com/v1/phone-numbers/assign \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "phoneNumberId": "<string>", "agentId": "<string>" } '
{ "error": { "code": "<string>", "message": "<string>", "details": {} }, "requestId": "<string>" }
Use your API key from the Arbol dashboard. Go to Settings > API Keys to generate one.
Phone number assigned