Assign Phone Number
Phone Numbers
Assign Phone Number
Assign a phone number to an agent
PUT
Assign Phone Number
Request
Path parameters
| Parameter | Type | Description |
|---|---|---|
id | string | Phone number ID |
Body parameters
| Field | Type | Required | Description |
|---|---|---|---|
agentId | string | Yes | Agent to assign to |
assignmentType | string | Yes | inbound or outbound |
Response
Returns the updated phone number object.Assignment types
- inbound — Calls to this number are answered by the agent
- outbound — This number is used as caller ID for outbound calls from the agent

