RelayAPI
Connect
GET
/v1/connect/pending-data
AuthorizationBearer <token>

In: header

Query Parameters

token*string

Temporary token from headless OAuth flow

Response Body

application/json

application/json

curl -X GET "https://api.relayapi.dev/v1/connect/pending-data?token=string"
{
  "platform": "twitter",
  "temp_token": "string",
  "user_profile": {
    "id": "string",
    "name": "string",
    "username": "string",
    "avatar_url": "string"
  },
  "pages": [
    {
      "property1": null,
      "property2": null
    }
  ],
  "profiles": [
    {
      "property1": null,
      "property2": null
    }
  ],
  "boards": [
    {
      "property1": null,
      "property2": null
    }
  ],
  "locations": [
    {
      "property1": null,
      "property2": null
    }
  ],
  "organizations": [
    {
      "property1": null,
      "property2": null
    }
  ]
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}