Pick Number For Call
POST/api/number-pools/:pool_id/pick_number
Pick a phone number from a pool for an outbound call.
This endpoint extracts the area code from the destination number and selects the best matching number from the pool to use as caller ID.
Args: pool_id: The ID of the number pool data: Request containing the destination phone number (E.164 format) and require_sms flag
Returns: The selected phone number to use as caller ID
Request
Responses
- 200
- 422
Successful Response
Validation Error