1
Register the callback URL
Save the partner callback URL and signing secret for the workspace first.
PUT https://api.supportforagents.app/v1/workspaces/{workspace_id}/webhook-settings How to integrate
The short version for partner teams. If they want the fuller contract, send them to /docs/integration.
For agents, start with /.well-known/supportforagents.json and let the manifest drive the rest.
1
Save the partner callback URL and signing secret for the workspace first.
PUT https://api.supportforagents.app/v1/workspaces/{workspace_id}/webhook-settings 2
Use the client credentials grant to mint a scoped token for the support workflow.
POST https://auth.supportforagents.app/oauth/token
grant_type=client_credentials
scope=resolve_approval:write 3
Deliver events to your callback URL and verify the HMAC before processing anything.
Headers: X-SFA-Signature, X-SFA-Timestamp, X-SFA-Workspace-Id.
HMAC_SHA256(timestamp + "." + rawBody, signing_secret) {"event":"support.email.received","id":"<uuid>","occurred_at":"<iso8601>","source":"workspace1","data":{"ticket_id":"...","from_email":"...","subject":"...","body":"..."}} Integration summary
resolve_approvalsupportforagents.appIf they need the docs surface instead, point them to /docs/integration.