staqlydocs
REST APIAPI referenceChannels

The accounts a sign-in may publish as, to pick from

The accounts a sign-in may publish as, to pick from (channels:manage)

Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.

GET
/v1/pending-connections/{id}

A platform whose sign-in may publish as several accounts (Facebook Pages, LinkedIn Pages, YouTube channels, Google Business locations...) does not connect one by itself: the callback lands on the dashboard's /channels/callback/{provider} page with ?pending=<id>, and the sign-in waits here, sealed, for ten minutes. A sign-in with only one account connects it directly.

Authorization

headerAuthorizationBearer <token>

API key (stk_...), or in the Community Edition the access token (stk_local_...)

Path Parameters

id*string

Response Body

OK

application/json
  1. response

A sign-in waiting for the person to pick which of its accounts become channels.

id*string
provider*string
accounts*array<>
expires_at*string
Formatdate-time
Example Request
curl -X GET 'https://staqly.example.com/v1/pending-connections/string'
Example Response
{  "id": "string",  "provider": "string",  "accounts": [    {      "id": "string",      "name": "string",      "handle": "string",      "avatar_url": "string",      "profile_url": "string"    }  ],  "expires_at": "2019-08-24T14:15:22Z"}