v3
ai-agents

Call a number with this agent

Place a real outbound call to one number using this agent, from the number the agent is linked to. Intended for demos and manual checks; the call is a normal PhoneCall and appears on the Calls page like any other.

post/v3/ai-agents/{agent_id}/test-call

Request

  • Base URL
    https://api.mentium.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

agent_idstring uuid required

Headers

mentium-workspace-idstring nullable

Request body

phone_numberstring required

Number to call, in E.164 format (for example +12025551234).

Response

Successful Response

phone_call_idstring required

PhoneCall id, for the call detail page

from_numberstring required

The agent's own number, which the call is placed from

to_numberstring required

The number actually dialled. A workspace in test mode redirects every outbound call, so this can differ from the one requested.

statusstring required

Call status at initiation

Changes

No recorded changes to this operation across all 2 revisions of this API.