Cinema Studio

Begin connecting a project's account

The first step of connecting the project's YouTube channel or TikTok account, the project owner's alone: answered with the app's own address the connect's window opens, which binds it to the browse…

POST
/v1/studio/projects/{project}/socials/connect
POST
/v1/studio/projects/{project}/socials/connect
Begin connecting a project's account
The first step of connecting the project's YouTube channel or TikTok account, the project owner's alone: answered with the app's own address the connect's window opens, which binds it to the browse…
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
projectstringrequired
Begin connecting a project's account
curl --request POST \
  --url 'https://api.auray.ai/v1/studio/projects/{project}/socials/connect' \
  --header 'Authorization: Bearer <api-key>'
  --header 'Content-Type: application/json' \
  --data '{
  
}'
{
  "object": "<string>",
  "platform": "<string>",
  "path": "<string>",
  "request_id": "<string>"
}
Begin connecting a project's account
curl -X POST https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/socials/connect \
  -H "Authorization: Bearer $AURAY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
  "platform": "youtube"
}'
{
  "object": "<string>",
  "platform": "<string>",
  "path": "<string>",
  "request_id": "<string>"
}

The first step of connecting the project's YouTube channel or TikTok account, the project owner's alone: answered with the app's own address the connect's window opens, which binds it to the browser and asks the platform which account. Refused social_paused while that platform is not open, social_not_in_plan when the owner's plan does not include posting. Connecting an account and scheduling or changing a post are the person's own steps in the Auray app: the desktop's session key alone begins them, and any other key is answered social_connect_in_app. Takes a key holding studio:write — Account offers it unticked — or the desktop's own session key. Spends nothing.

Authorizations

Authorizationstringheaderrequired

Bearer auray_sk_… — a key with the scope the route names.

Path Parameters

projectstringrequired

Body

application/json
platformstringrequired
The platform to connect. One of "youtube", "tiktok".

Response

application/json

OK.

objectstringrequired
One of "social_connect".
platformstringrequired
One of "youtube", "tiktok".
pathstringrequired
The app's own address the connect's window opens.
request_idstring
Mirrored in the X-Request-Id header.

Headers:

HeaderDescription
RateLimit-LimitBurst capacity.
RateLimit-Remaining
RateLimit-ResetSeconds until refill.
X-RateLimit-Limit
X-RateLimit-Remaining
X-RateLimit-ResetUnix seconds. The X- spelling is what client libraries read.
X-Request-Id

Was this page helpful?

Begin connecting a project's account
curl -X POST https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/socials/connect \
  -H "Authorization: Bearer $AURAY_API_KEY" \
  -H "content-type: application/json" \
  -d '{
  "platform": "youtube"
}'
{
  "object": "<string>",
  "platform": "<string>",
  "path": "<string>",
  "request_id": "<string>"
}

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close search.