Langburp
End user auth

Authorize end user for a connection

Authorize end user

POST
/v1/authorize

Authorization

x-api-key<token>

In: header

x-secret-key<token>

In: header

Request Body

application/jsonRequired

Authorize end user for a connection

statestring
Minimum length: 1Maximum length: 255
connectionMetadataobject
connectionUserMetadataobject
curl -X POST "https://api.langburp.com/v1/authorize" \
  -H "x-api-key: <token>" \
  -H "x-secret-key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "state": "auth_state_123",
    "connectionMetadata": {
      "id": "org_id_123",
      "name": "ACME Corp"
    },
    "connectionUserMetadata": {
      "id": "user_id_123",
      "name": "Bob Smith"
    }
  }'

Authorize end user for a connection

{
  "state": "string"
}