Fetch pending OAuth data
One-time use, expires after 10 minutes. For headless OAuth flows.
Authorization
Bearer AuthorizationBearer <token>
API key (rlay_live_* or rlay_test_*)
In: header
Query Parameters
token*string
Temporary token from headless OAuth flow
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/connect/pending-data?token=string"{ "platform": "twitter", "status": "success", "account": { "id": "string", "platform": "twitter", "platform_account_id": "string", "username": "string", "display_name": "string", "avatar_url": "string", "metadata": { "property1": null, "property2": null }, "workspace": { "id": "string", "name": "string" }, "connected_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }, "error": "string", "error_description": "string", "error_code": "string", "error_message": "string"}{ "error": { "code": "string", "message": "string", "details": { "property1": null, "property2": null } }}Found something wrong? Help us improve this page.