Skip to content
GridRouterhome

Search

Search providers, capabilities and pages

Docs
API referenceKeys and access

Authorize a third-party app

POST
/v1/auth/codes

Consent step of Sign in with GridRouter (OAuth PKCE, S256): a signed-in member approves an app and gets a one-time code (10 minutes) to redirect back with.

Authorization

bearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/auth/codes" \  -H "Content-Type: application/json" \  -d '{    "code_challenge": "string"  }'
{  "object": "auth_code",  "code": "string",  "redirect_url": "string",  "expires_at": "2019-08-24T14:15:22Z"}