Agent Chat

Respond To Permission Request

Changed on

Respond to a permission request from the agent.

When the agent calls send_invoice, send_proposal, or send_email, it emits a permission_request event via SSE. The frontend displays a confirmation dialog and calls this endpoint with the user's response.

The agent waits up to 180 seconds (300 for Slack) for a response. If no response is received, the permission request times out and the tool call is denied. When the request is part of an approval SET, a later sibling joining the set extends that window for the ones already showing.

Request body: thread_id: The thread ID request_id: The permission request ID (from the permission_request event) approved: True to allow the action, False to deny message: Optional message explaining the decision (shown to agent if denied) updated_input: Optional per-item decision document, merged server-side against the manifest the card showed (never a replacement payload)

Returns: success: True if the response was handled message: Status message

post/api/permission-response

Request

  • Base URL: https://api.every.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.every.ai/api/permission-response
  • Auth: none declared

Query parameters

user_idstring
org_idstring

Request body

thread_idstring nullable
request_idstring required
approvedboolean required
messagestring nullable
updated_inputobject nullable

Response

Successful Response

unknown required

Changes

    • info

      added the new optional request property

    • info

      the request property became optional

    • info

      request property list-of-types was widened by adding types null to media type application/json