Cinema Studio

List a project's connected accounts

The project's own YouTube channel and TikTok account — at most one each, a project being one brand — and where each will post: the channel's title or the creator's nickname, its picture, whether it…

GET
/v1/studio/projects/{project}/socials
GET
/v1/studio/projects/{project}/socials
List a project's connected accounts
The project's own YouTube channel and TikTok account — at most one each, a project being one brand — and where each will post: the channel's title or the creator's nickname, its picture, whether it…
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
projectstringrequired
List a project's connected accounts
curl --request GET \
  --url 'https://api.auray.ai/v1/studio/projects/{project}/socials' \
  --header 'Authorization: Bearer <api-key>'
{
  "object": "<string>",
  "data": [
    {
      "object": "<string>",
      "id": "<string>",
      "platform": "<string>",
      "external_id": "<string>",
      "display_name": "<string>",
      "avatar_url": "<string>",
      "state": "<string>",
      "defaults": {
        "made_for_kids": true,
        "ai_disclosure": true
      },
      "also_in": [
        {
          "project_id": "<string>",
          "name": "<string>"
        }
      ],
      "connected_at": "<string>",
      "remove_after": "<string>",
      "paused": {
        "message": "<string>"
      },
      "director_posting": {
        "privacy": "<string>",
        "options": {},
        "words": "<string>",
        "at": "<string>",
        "by_you": true
      }
    }
  ],
  "next_cursor": "<null>",
  "request_id": "<string>"
}
List a project's connected accounts
curl https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/socials \
  -H "Authorization: Bearer $AURAY_API_KEY"
{
  "object": "<string>",
  "data": [
    {
      "object": "<string>",
      "id": "<string>",
      "platform": "<string>",
      "external_id": "<string>",
      "display_name": "<string>",
      "avatar_url": "<string>",
      "state": "<string>",
      "defaults": {
        "made_for_kids": true,
        "ai_disclosure": true
      },
      "also_in": [
        {
          "project_id": "<string>",
          "name": "<string>"
        }
      ],
      "connected_at": "<string>",
      "remove_after": "<string>",
      "paused": {
        "message": "<string>"
      },
      "director_posting": {
        "privacy": "<string>",
        "options": {},
        "words": "<string>",
        "at": "<string>",
        "by_you": true
      }
    }
  ],
  "next_cursor": "<null>",
  "request_id": "<string>"
}

The project's own YouTube channel and TikTok account — at most one each, a project being one brand — and where each will post: the channel's title or the creator's nickname, its picture, whether it is connected, and what its posts are prefilled from. also_in names your own other projects connected to the same one, never anybody else's. Never a token. Every member reads them. Takes a key holding studio:read (or studio:write, which reads too) — Account offers both 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

Response

application/json

OK.

objectstringrequired
One of "list".
dataobject[]required
Show child attributes
objectstringrequired
One of "social_account".
idstringrequired
platformstringrequired
One of "youtube", "tiktok".
external_idstringrequired
The channel's id, or TikTok's open_id.
display_namestringrequired
Where it will post: the channel's title or the creator's nickname.
avatar_urlstringrequired
A URL. May be null.
statestringrequired
pending waits for its owner's confirm, being connected in another of their projects; expired and revoked need a reconnect, and their posts wait — until remove_after. One of "pending", "connected", "expired", "revoked".
defaultsobjectrequired
Show child attributes
made_for_kidsbooleanrequired
May be null.
ai_disclosurebooleanrequired
also_inobject[]required
Your own other projects connected to the same channel or account.
Show child attributes
project_idstringrequired
namestringrequired
connected_atstringrequired
remove_afterstringrequired
When a connection that ended (expired, revoked) is removed from the project unless it is reconnected first: three weeks after it ended. Its channel's or account's id, name and picture go, and its posts not yet out are cancelled. Null while it is connected or pending. May be null.
pausedobjectrequired
Set while posting to its platform is paused: nothing is connected or sent there, a post may still be scheduled and waits, and one more than an hour past its time is not sent. Null while it is open. May be null.
Show child attributes
messagestringrequired
The sentence written for customers when the platform was paused, or null. May be null.
director_postingobjectrequired
AI Director posting on this account: the choices its posts carry, when it was turned on and whether you turned it on — or null while it is off. A reconnect turns it off. May be null.
Show child attributes
privacystringrequired
optionsobjectrequired
wordsstringrequired
The version of the sentence ticked when it was turned on.
atstringrequired
by_youbooleanrequired
next_cursornullrequired
Always null: a project connects at most one account a platform, one page.
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?

List a project's connected accounts
curl https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/socials \
  -H "Authorization: Bearer $AURAY_API_KEY"
{
  "object": "<string>",
  "data": [
    {
      "object": "<string>",
      "id": "<string>",
      "platform": "<string>",
      "external_id": "<string>",
      "display_name": "<string>",
      "avatar_url": "<string>",
      "state": "<string>",
      "defaults": {
        "made_for_kids": true,
        "ai_disclosure": true
      },
      "also_in": [
        {
          "project_id": "<string>",
          "name": "<string>"
        }
      ],
      "connected_at": "<string>",
      "remove_after": "<string>",
      "paused": {
        "message": "<string>"
      },
      "director_posting": {
        "privacy": "<string>",
        "options": {},
        "words": "<string>",
        "at": "<string>",
        "by_you": true
      }
    }
  ],
  "next_cursor": "<null>",
  "request_id": "<string>"
}

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