Update job agent
Updates specific fields of a job agent using its UUID. Verifies the agent has at least one job. At least one field must be provided for update. Caution: Update overwrites everything — ensure your payload includes all data you want to keep to prevent data loss (e.g. GET the job agent first, merge changes, then PATCH).
Authentication
API key for authentication. Example: raya_ABCD1234567890abcdef
Path parameters
Request
How the voice agent should behave (e.g. prescreening interviewer). Not the job/position title. If provided, replaces the agent role.
About the job. If provided, replaces the about-job section.
About the company. If provided, replaces the about-company section.
Array of key-description pairs. Each item has key and description only. If provided, replaces the agent’s output_fields.
Instructions for how to populate output_fields after a call. If provided, replaces the agent’s output_instructions.
Webhook URL for callbacks (sent on call completed or call failure). Must be a valid URL or null. See Webhooks for payload format and when webhooks are sent.
India mobile (10 digits, no +91). Null clears stored transfer destination.
Response
Agent role: how the voice agent should behave (e.g. prescreening interviewer). Distinct from job role (the position being hired for).
Instructions for how to populate output_fields after a call.
Array of key-description pairs. Each item has key and description only (no extra properties).
Agent arguments as a JSON object (e.g. {“contact_name”: “John”, “order_id”: “123”}). Not an array.
Inbound DID number (read-only; for reference)
Webhook URL for callbacks (sent on call completed or call failure). See Webhooks for payload format.
India mobile (10 digits, no +91). Null if unused.

