Approval required
What the approval_required error from the Perafly API means and what to do about it.
- Code
approval_required- HTTP status
- 403
- Group
- Approvals
What it means
An agent credential tried something that changes what's live, so a teammate has to approve it first. Nothing has changed yet. The response carries execution: { id, status, approvalUrl, expiresAt }.
A typical detail: A teammate must approve this in Perafly. Open approvalUrl, then call resume with the execution id. Do not start the same action again.
What to do
Share approvalUrl with a teammate who can approve (the request also reaches them as a notification). After approval, call POST /v1/executions/{id}/resume, perafly operations resume <exe_…> or the MCP tool resume_execution. Don't start the same action again; the request is valid for 10 minutes.
Read more: Agents and MCP
Example response
This is the shape of the answer. title and detail are in English, or in Turkish with Accept-Language: tr; detail appears when there's more to say.