Langkau ke kandungan
GrowSocmedDokumentasiSocial media command center
API ReferenceConnect links

Create a connect link

A one-time link (30 minutes) for a client to connect their own accounts into this workspace, without a GrowSocmed login

POST
/connect-links

A one-time link (30 minutes) for a client to connect their own accounts into this workspace, without a GrowSocmed login

Authorization

apiKey
headerAuthorizationBearer <token>

API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.

Request Body

application/json
  1. body
Default{}
platforms?array<>
Itemsitems <= 9
redirect_url?string
Formaturi
Lengthlength <= 2000
state?string
Lengthlength <= 200

Response Body

Created

application/json
  1. response
url*string
expires_at*string
start_urls*
Example Request
curl -X POST 'https://socmed.growpaces.com/api/v1/connect-links' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response201
{  "url": "string",  "expires_at": "string",  "start_urls": {    "property1": "string",    "property2": "string"  }}