Skip to main content
GET
/
social
/
{integration}
Get OAuth URL for a channel
curl --request GET \
  --url https://api.postiz.com/public/v1/social/{integration} \
  --header 'Authorization: <api-key>'
{
  "url": "https://twitter.com/i/oauth2/authorize?response_type=code&client_id=..."
}

Authorizations

Authorization
string
header
required

Your Postiz API key

Path Parameters

integration
string
required

The integration identifier (e.g. x, linkedin, facebook, instagram, youtube, tiktok, reddit, etc.)

Query Parameters

refresh
string

Pass an existing integration ID to refresh its OAuth token instead of creating a new connection

Response

OAuth authorization URL

url
string

The OAuth authorization URL to redirect the user to