Channels

Start connecting a channel: GET /social/:integration

Visszaadja azt a platformcímet, amit egy embernek meg kell nyitnia a csatorna bekötéséhez.

Path

Method and path
GEThttps://api.posty.hu/public/v1/social/:integration
Authorization
channels:write
operationId
startChannelConnect

Returns the platform URL a person has to open to connect the channel. The API cannot connect a channel for you: the platform asks a person for consent.

Useful when you want to start the connection from your own interface, instead of sending the user to Posty.

Parameters

NameLocationTypeRequiredDescription
integrationútvonalstringyesThe platform ID, for example x, instagram, linkedin, youtube.
refreshlekérdezésstringnoThe ID of an existing channel, if you want to refresh its credentials rather than connect a new one.

Request

curl https://api.posty.hu/public/v1/social/x \
  -H "Authorization: psty_a_kulcsod"

Response

Example response structure. The OpenAPI document contains the authoritative schema for each field.

{ "url": "https://x.com/i/oauth2/authorize?..." }

Related

Is something missing from this page? Email [email protected] or use the form on the Help page.