Claim a one-time agent connector setup token
Used by external agent runtimes such as OpenClaw to finish agent connector setup. The setup token is generated in the authenticated Leadtime app, but this claim endpoint does not require Bearer auth. Claiming the token enables the agent webhooks/sessions connection, creates a fresh agent PAT, stores the webhook URL, and returns one-time secrets to the installer.
/agent-connectors/setup/claimAuthorizationOAuth2 access token · headerrequiredapplication/jsonagentIdstringRuntime-specific agent id to attach this Leadtime agent to.
gatewayPublicUrlstringrequiredPublic OpenClaw/Hermes gateway URL reachable by Leadtime for webhook delivery.
runtimeVersionstringConnector/runtime version reported by the installer.
setupTokenstringrequiredOne-time setup token generated from the agent settings page.
Connector setup was claimed and one-time secrets were returned.
Setup token is invalid, expired, or already used.
Forbidden - Insufficient API scopes or permissions