---
title: "Get an OAuth connect URL"
method: POST
path: "/socials/connect"
tags: ["Socials"]
---

# Get an OAuth connect URL

`POST /socials/connect`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/socials/connect`
- Auth: API key in header `Authorization`

Returns an OAuth URL to connect a social account on the given platform. Activates the account on first connect; requires an active subscription.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `platform` 'twitter' | 'linkedin' | 'instagram' | 'facebook' | 'youtube' | 'tiktok' | 'pinterest' | 'threads' | 'reddit' | 'bluesky', required
  - `redirect_url` string, required: URL to redirect to after connection
  - `login_method` 'instagram_login' | 'facebook_login': Instagram only; ignored on every other platform. `instagram_login` (the default) authorizes the Instagram professional account directly. `facebook_login` authorizes the Facebook Page linked to that account instead, and every call then runs through the Page. Use it when Instagram's own dialog will not render a consent screen for the account, or when the seller manages Instagram through a Page.

## Response `200`

Connect URL

- object
  - `url` string, required

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `402`: An active subscription is required to use social posting.
- `403`: Forbidden
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per credential. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) · [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/2219f18ad651?raw)
