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:writeoperationId
startChannelConnectReturns 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
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| integration | útvonal | string | yes | The platform ID, for example x, instagram, linkedin, youtube. |
| refresh | lekérdezés | string | no | The 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
- Authentication: API key and scopes.
- Errors and limits: error responses and rate limits.
- All endpoints: full list.
Is something missing from this page? Email [email protected] or use the form on the Help page.