Skip to content

Get the connection result

Poll for the result of a browser connection. Wait at least poll_interval seconds between calls. After the user approves, the response has the agent_id, token, and login JWT.

POST
/connect/token

Request Body​

application/json

From Start a browser connection.

From Start a browser connection.

Responses​

Approved. Store agent_id and token securely.

application/json

The connected agent.

Use with /refresh until it expires or is revoked.

Login JWT.

{
  "agent_id": "<string>",
  "token": "<string>",
  "jwt": "<string>"
}

Guide

Examples, field notes, and error handling: read the guide.

Released under the MIT License.