Auth

Exchange a hosted sign-in code

Exchanges a short-lived cfgsic_ code for an agent-scoped token for the acting agent.

post/v1/auth/sign-in/exchange

Request

  • Base URL: https://api.configure.dev
  • URL: https://api.configure.dev/v1/auth/sign-in/exchange
  • Auth: API key in header X-API-Key

Headers

X-Agentstring
Example:your-agent

Required when the API key's developer account owns more than one active agent.

Request body

codestring required

Response

Agent-scoped Configure token.

tokenstring required

Agent-scoped Configure token for the acting agent.

userIdstring required
tokenUse'agent' required
approvedboolean required
agentstring required

Example response

{
  "agent": "your-agent"
}

Changes

No recorded changes to this operation across all 1 revision of this API.