Exchange
POST
/connect/exchangeRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
client*string
Value in
- "chrome-extension"
- "raycast"
code*string
codeVerifier*string
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/connect/exchange" \ -H "Content-Type: application/json" \ -d '{ "client": "chrome-extension", "code": "string", "codeVerifier": "string" }'{ "apiKey": "string", "scopes": [ "saved-items:capture" ], "label": "string"}{ "_tag": "ConnectError", "code": "unknown_client", "message": "string"}{ "_tag": "RateLimitExceeded", "message": "string"}