Skip to main content
Use this endpoint to retrieve all configured phone numbers together with the AI Agents assigned to each number. This endpoint is useful for viewing phone number-to-agent mappings within your Weya AI workspace.
Only authenticated users can retrieve phone numbers and their associated AI Agents.

OpenAPI

Authorizations

string
required
Bearer Token for the authenticated user.Format:Authorization: Bearer YOUR_ACCESS_TOKEN

Example Request

Successful Response

Response Fields

string
Unique identifier of the phone number.
string
The configured phone number in international format.
string
The telephony provider associated with the phone number.
string
Country associated with the phone number.
string
Current status of the phone number.
string
Unique identifier of the assigned AI Agent.
string
Name of the AI Agent assigned to the phone number.
string
Type of AI Agent assigned to the phone number (for example, Voice Agent).

Error Responses

Unauthorized (401)

Internal Server Error (500)