API Reference
Explore every publishing API endpoint, field, and response.
Use this reference to inspect request fields, response shapes, and ready-to-run examples for every v2 endpoint.
https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApiAuthorization: Bearer $API_KEYContent-tagging workflow#
Create a reusable tag once, then assign its returned contentGroupId when creating or updating a post. Tags are optional internal metadata and never alter the social post.
- Tagging is optional. A post can have up to 10 explicit tag or template reporting groups.
- Use the stable contentGroupId returned when a tag is created, not its display name or bare tagId.
- contentGroupIds is a replacement list: resend the complete desired list to add or remove one tag, or send [] to remove all explicit tags.
- Tag assignments can be changed before or after a post is published. Other post fields still follow normal editability rules.
- A template:<id> group inherited from the template used to create a post is provenance and remains visible even when explicit tags are cleared.
# Create a tag. Save contentGroupId from the response.
POST /v2/content-tags
{ "name": "Launch", "color": "blue" }
→ { "tagId": "abc123", "contentGroupId": "tag:abc123", ... }
# Assign tags while creating a post.
POST /v2/posts
{ "media": ["UPLOAD_ID"], "accountIds": ["ACCOUNT_ID"], "contentGroupIds": ["tag:abc123"] }
# Replace the complete explicit tag list before or after publishing.
PATCH /v2/posts/POST_ID
{ "contentGroupIds": ["tag:abc123", "tag:def456"] }
# Remove every explicit tag.
PATCH /v2/posts/POST_ID
{ "contentGroupIds": [] }Uploads#
/v2/uploads
Create an upload
Videos must be MP4 or MOV with H.264 or HEVC (H.265) video and AAC audio when present, no larger than 120 MB or 3 minutes, up to 1080 × 1920 and 60 fps. Supported uploads are stored without transcoding.
Request body
kindenum: video | imagerequiredfilenamestringrequiredmin length 1 · max length 255For video uploads, the filename must use the .mp4 or .mov extension.
contentTypestringrequiredmin length 1 · max length 100For video uploads, use video/mp4 for MP4 or video/quicktime for MOV.
sizeBytesintegerrequiredmin > 0Video uploads may be at most 125,829,120 bytes (120 MiB); images may be at most 52,428,800 bytes (50 MiB).
kindenum: video | imagerequiredsourceUrlstringrequiredformat: urifilenamestringmin length 1 · max length 255Request
curl -X POST \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/uploads" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"kind": "video",
"filename": "video.mp4",
"contentType": "video/mp4",
"sizeBytes": 0
}'201 response
{
"uploadId": "abc123",
"uploadUrl": "https://example.com/media",
"expiresAt": "2026-07-15T12:00:00Z"
}Responses
201Success400Error401Error403Error413Error415Error422Error429Error/v2/uploads/{uploadId}/complete
Complete a signed upload
Validates uploaded video container, codecs, size, duration, dimensions, and frame rate before marking it ready.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
uploadId | path | required | string |
Request
curl -X POST \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/uploads/UPLOAD_ID/complete" \
-H "Authorization: Bearer $API_KEY"200 response
{
"uploadId": "abc123",
"status": "ready"
}Responses
200Success409Error413Error415Error422Error/v2/uploads/{uploadId}
Get upload status
Parameters
| Name | In | Required | Type |
|---|---|---|---|
uploadId | path | required | string |
Request
curl -X GET \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/uploads/UPLOAD_ID" \
-H "Authorization: Bearer $API_KEY"200 response
{
"uploadId": "abc123",
"kind": "video",
"status": "pending",
"url": "https://example.com/media",
"thumbnailUrl": "https://example.com/media",
"error": "string"
}Responses
200Success404ErrorPosts#
/v2/posts
Create and queue a post
Optionally assign up to 10 tags or template reporting groups with contentGroupIds. Tags are for internal analytics and do not appear in the social caption.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
Idempotency-Key | header | optional | string |
Request body
mediaarray<string>requiredmin items 1 · max items 10accountIdsarray<string>requiredmin items 1 · max items 50skipApprovalbooleanWhen true, send the post directly to the posting queue instead of waiting for dashboard approval.
captionstringmax length 2200hashtagsarray<string>max items 30soundobject
modeenum: trending | original | specificrequiredurlstringformat: uriurlsByPlatformobject
tiktokstringformat: uriinstagramstringformat: urinotesstringmax length 2000priorityintegermin 0contentGroupIdsarray<string>max items 10Optional tag or template reporting-group IDs. Use the contentGroupId returned by POST /v2/content-tags. Multiple groups are allowed; omit this field for no explicit tags.
instagramPostFormatenum: reel | postHow Instagram should publish the media. Regular posts require a company capability; Reels are the default.
slidesarray<object>min items 2 · max items 10
imagestringrequiredmin length 1 · max length 200textElementsarray<object>requiredmax items 6
contentstringrequiredmin length 1 · max length 500styleobjectrequired
backgroundColorenum: none | black | white | red | yellow | bluetextColorenum: white | black | red | yellow | bluefontSizenumbermin 6 · max 72fontWeightenum: normal | boldtextAlignenum: left | center | righttextModeenum: stroke | background | plain | snapchatpositionXnumbermin 0 · max 100positionYnumberrequiredmin 0 · max 100widthnumbermin 20 · max 100paddingnumbermin 0 · max 20imageFitenum: fit | fillroleenum: hook | middle | ctaRequest
curl -X POST \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/posts" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"media": [
"string"
],
"accountIds": [
"abc123"
]
}'201 response
{
"postId": "abc123",
"status": "draft",
"media": {
"kind": "video",
"count": 0,
"thumbnailUrl": "https://example.com/media"
},
"caption": "A new post from HumanPost",
"hashtags": [
"string"
],
"sound": {
"mode": "trending",
"url": "https://example.com/media",
"urlsByPlatform": {
"tiktok": "https://example.com/media",
"instagram": "https://example.com/media"
}
},
"notes": "string",
"contentGroupIds": [
"abc123"
],
"instagramPostFormat": "reel",
"createdAt": "2026-07-15T12:00:00Z",
"accounts": [
{
"accountId": "abc123",
"username": "humanpost",
"platform": "tiktok",
"status": "draft",
"queuedAt": "2026-07-15T12:00:00Z",
"approvedAt": "2026-07-15T12:00:00Z",
"scheduledAfter": "2026-07-15T12:00:00Z",
"scheduledSlotStart": "2026-07-15T12:00:00Z",
"postedAt": "2026-07-15T12:00:00Z",
"postUrl": "https://example.com/media"
}
]
}Responses
200Idempotent replay201Post created400Error409Error429Error/v2/posts
List posts
Optionally filter by one tag or template reporting group with contentGroupId, or use `untagged` to return posts with no attribution.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
limit | query | optional | integer |
cursor | query | optional | string |
accountId | query | optional | string |
status | query | optional | enum: draft | pending_approval | queued | posting | posted | partially_posted | cancelled | processing | failed |
since | query | optional | string |
contentGroupIdReturn only posts attributed to this tag or template reporting group. Use `untagged` for posts with no tag or template attribution. | query | optional | string or enum: untagged |
Request
curl -X GET \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/posts" \
-H "Authorization: Bearer $API_KEY"200 response
{
"data": [
{
"postId": "abc123",
"status": "draft",
"media": {
"kind": "video",
"count": 0,
"thumbnailUrl": "https://example.com/media"
},
"caption": "A new post from HumanPost",
"hashtags": [
"string"
],
"sound": {
"mode": "trending",
"url": "https://example.com/media",
"urlsByPlatform": {
"tiktok": "https://example.com/media",
"instagram": "https://example.com/media"
}
},
"notes": "string",
"contentGroupIds": [
"abc123"
],
"instagramPostFormat": "reel",
"createdAt": "2026-07-15T12:00:00Z",
"accounts": [
{
"accountId": "abc123",
"username": "humanpost",
"platform": "tiktok",
"status": "draft",
"queuedAt": "2026-07-15T12:00:00Z",
"approvedAt": "2026-07-15T12:00:00Z",
"scheduledAfter": "2026-07-15T12:00:00Z",
"scheduledSlotStart": "2026-07-15T12:00:00Z",
"postedAt": "2026-07-15T12:00:00Z",
"postUrl": "https://example.com/media"
}
]
}
],
"nextCursor": "cursor_abc123"
}Responses
200Success/v2/posts/{postId}/queue
Queue an existing draft post
Adds one queue item per requested account to an existing post whose media is ready.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
postId | path | required | string |
Idempotency-Key | header | optional | string |
Request body
accountIdsarray<string>requiredmin items 1 · max items 50skipApprovalbooleanWhen true, send the post directly to the posting queue instead of waiting for dashboard approval.
captionstringmax length 2200hashtagsarray<string>max items 30soundobject
modeenum: trending | original | specificrequiredurlstringformat: uriurlsByPlatformobject
tiktokstringformat: uriinstagramstringformat: urinotesstringmax length 2000priorityintegermin 0instagramPostFormatenum: reel | postHow Instagram should publish the media. Regular posts require a company capability; Reels are the default.
Request
curl -X POST \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/posts/POST_ID/queue" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"accountIds": [
"abc123"
]
}'201 response
{
"postId": "abc123",
"status": "draft",
"media": {
"kind": "video",
"count": 0,
"thumbnailUrl": "https://example.com/media"
},
"caption": "A new post from HumanPost",
"hashtags": [
"string"
],
"sound": {
"mode": "trending",
"url": "https://example.com/media",
"urlsByPlatform": {
"tiktok": "https://example.com/media",
"instagram": "https://example.com/media"
}
},
"notes": "string",
"contentGroupIds": [
"abc123"
],
"instagramPostFormat": "reel",
"createdAt": "2026-07-15T12:00:00Z",
"accounts": [
{
"accountId": "abc123",
"username": "humanpost",
"platform": "tiktok",
"status": "draft",
"queuedAt": "2026-07-15T12:00:00Z",
"approvedAt": "2026-07-15T12:00:00Z",
"scheduledAfter": "2026-07-15T12:00:00Z",
"scheduledSlotStart": "2026-07-15T12:00:00Z",
"postedAt": "2026-07-15T12:00:00Z",
"postUrl": "https://example.com/media"
}
]
}Responses
200Idempotent replay201Post queued400Error404Error409Conflict (`media_not_ready`, `duplicate_queue_item`, or post already published)429Error/v2/posts/{postId}
Get a post
Parameters
| Name | In | Required | Type |
|---|---|---|---|
postId | path | required | string |
Request
curl -X GET \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/posts/POST_ID" \
-H "Authorization: Bearer $API_KEY"200 response
{
"postId": "abc123",
"status": "draft",
"media": {
"kind": "video",
"count": 0,
"thumbnailUrl": "https://example.com/media"
},
"caption": "A new post from HumanPost",
"hashtags": [
"string"
],
"sound": {
"mode": "trending",
"url": "https://example.com/media",
"urlsByPlatform": {
"tiktok": "https://example.com/media",
"instagram": "https://example.com/media"
}
},
"notes": "string",
"contentGroupIds": [
"abc123"
],
"instagramPostFormat": "reel",
"createdAt": "2026-07-15T12:00:00Z",
"accounts": [
{
"accountId": "abc123",
"username": "humanpost",
"platform": "tiktok",
"status": "draft",
"queuedAt": "2026-07-15T12:00:00Z",
"approvedAt": "2026-07-15T12:00:00Z",
"scheduledAfter": "2026-07-15T12:00:00Z",
"scheduledSlotStart": "2026-07-15T12:00:00Z",
"postedAt": "2026-07-15T12:00:00Z",
"postUrl": "https://example.com/media"
}
]
}Responses
200Success404Error/v2/posts/{postId}
Update post metadata or content tags
contentGroupIds replaces the complete explicit assignment list and can be changed before or after publishing. Resend the desired list to add or remove individual tags; send [] to remove all explicit tags. Other metadata remains subject to normal post editability rules.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
postId | path | required | string |
Request body
captionstringmax length 2200hashtagsarray<string>max items 30soundobject
modeenum: trending | original | specificrequiredurlstringformat: uriurlsByPlatformobject
tiktokstringformat: uriinstagramstringformat: urinotesstring | nullmax length 2000contentGroupIdsarray<string>max items 10Replace the post's complete list of explicitly assigned tag or template reporting groups. This remains editable after publishing. To remove one tag, resend the list without it; pass [] to remove every explicit tag. Template provenance inherited from the post's original template remains visible.
instagramPostFormatenum: reel | postHow Instagram should publish the media. `post` is rejected unless the company has regular feed posts enabled.
Request
curl -X PATCH \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/posts/POST_ID" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contentGroupIds": [
"tag:abc123",
"tag:def456"
]
}'200 response
{
"postId": "abc123",
"status": "draft",
"media": {
"kind": "video",
"count": 0,
"thumbnailUrl": "https://example.com/media"
},
"caption": "A new post from HumanPost",
"hashtags": [
"string"
],
"sound": {
"mode": "trending",
"url": "https://example.com/media",
"urlsByPlatform": {
"tiktok": "https://example.com/media",
"instagram": "https://example.com/media"
}
},
"notes": "string",
"contentGroupIds": [
"abc123"
],
"instagramPostFormat": "reel",
"createdAt": "2026-07-15T12:00:00Z",
"accounts": [
{
"accountId": "abc123",
"username": "humanpost",
"platform": "tiktok",
"status": "draft",
"queuedAt": "2026-07-15T12:00:00Z",
"approvedAt": "2026-07-15T12:00:00Z",
"scheduledAfter": "2026-07-15T12:00:00Z",
"scheduledSlotStart": "2026-07-15T12:00:00Z",
"postedAt": "2026-07-15T12:00:00Z",
"postUrl": "https://example.com/media"
}
]
}Responses
200Success409Error/v2/posts/{postId}
Cancel a post
Parameters
| Name | In | Required | Type |
|---|---|---|---|
postId | path | required | string |
accountId | query | optional | string |
Request
curl -X DELETE \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/posts/POST_ID" \
-H "Authorization: Bearer $API_KEY"200 response
{
"postId": "abc123",
"status": "draft",
"media": {
"kind": "video",
"count": 0,
"thumbnailUrl": "https://example.com/media"
},
"caption": "A new post from HumanPost",
"hashtags": [
"string"
],
"sound": {
"mode": "trending",
"url": "https://example.com/media",
"urlsByPlatform": {
"tiktok": "https://example.com/media",
"instagram": "https://example.com/media"
}
},
"notes": "string",
"contentGroupIds": [
"abc123"
],
"instagramPostFormat": "reel",
"createdAt": "2026-07-15T12:00:00Z",
"accounts": [
{
"accountId": "abc123",
"username": "humanpost",
"platform": "tiktok",
"status": "draft",
"queuedAt": "2026-07-15T12:00:00Z",
"approvedAt": "2026-07-15T12:00:00Z",
"scheduledAfter": "2026-07-15T12:00:00Z",
"scheduledSlotStart": "2026-07-15T12:00:00Z",
"postedAt": "2026-07-15T12:00:00Z",
"postUrl": "https://example.com/media"
}
],
"cancellation": {
"cancelled": [
"string"
],
"skipped": [
{
"accountId": "abc123",
"reason": "currently_posting"
}
]
}
}Responses
200Success409Error/v2/posts/{postId}/analytics
Get post analytics
Parameters
| Name | In | Required | Type |
|---|---|---|---|
postId | path | required | string |
limit | query | optional | integer |
cursor | query | optional | string |
Request
curl -X GET \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/posts/POST_ID/analytics" \
-H "Authorization: Bearer $API_KEY"200 response
{
"summary": {
"views": 0,
"likes": 0,
"comments": 0,
"shares": 0,
"saves": 0,
"engagementRate": 0,
"lastUpdated": "2026-07-15T12:00:00Z",
"postUrl": "https://example.com/media",
"accountId": "abc123",
"platform": "tiktok"
},
"history": [
{
"id": "abc123",
"videoId": "abc123",
"accountId": "abc123",
"platform": "tiktok",
"postUrl": "https://example.com/media",
"views": 0,
"likes": 0,
"comments": 0,
"shares": 0,
"saves": 0,
"collectedAt": "2026-07-15T12:00:00Z",
"taskId": "abc123"
}
],
"nextCursor": "cursor_abc123"
}Responses
200SuccessContent tags#
Accounts#
/v2/accounts
List publishing accounts
Parameters
| Name | In | Required | Type |
|---|---|---|---|
platform | query | optional | enum: tiktok | instagram |
Request
curl -X GET \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/accounts" \
-H "Authorization: Bearer $API_KEY"200 response
{
"data": [
{
"accountId": "abc123",
"platform": "tiktok",
"username": "humanpost",
"displayName": "string",
"status": "string",
"timezone": "string",
"followers": 0,
"postsToday": 0,
"dailyCap": 0,
"queueDepth": 0,
"nextWindow": "2026-07-15T12:00:00Z",
"lastPostAt": "2026-07-15T12:00:00Z"
}
]
}Responses
200Success/v2/accounts
Create a publishing account
Request body
platformenum: tiktok | instagramrequiredusernamestringrequireddisplayNamestringrequiredmin length 1 · max length 80biostringrequiredmin length 1 · max length 220profilePictureUrlstringrequiredformat: uri · max length 2048bioUrlstringformat: uri · max length 2048warmupobjectrequired
searchTermsarray<string>requiredmin items 1 · max items 20Request
curl -X POST \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/accounts" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"platform": "tiktok",
"username": "humanpost",
"displayName": "string",
"bio": "string",
"profilePictureUrl": "https://example.com/media",
"warmup": {
"searchTerms": [
"string"
]
}
}'201 response
{
"accountId": "abc123",
"platform": "tiktok",
"username": "humanpost",
"displayName": "string",
"status": "string",
"timezone": "string",
"followers": 0,
"postsToday": 0,
"dailyCap": 0,
"queueDepth": 0,
"nextWindow": "2026-07-15T12:00:00Z",
"lastPostAt": "2026-07-15T12:00:00Z"
}Responses
201Success403Error409Error429Error/v2/accounts/{accountId}
Get a publishing account
Parameters
| Name | In | Required | Type |
|---|---|---|---|
accountId | path | required | string |
Request
curl -X GET \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/accounts/ACCOUNT_ID" \
-H "Authorization: Bearer $API_KEY"200 response
{
"accountId": "abc123",
"platform": "tiktok",
"username": "humanpost",
"displayName": "string",
"status": "string",
"timezone": "string",
"followers": 0,
"postsToday": 0,
"dailyCap": 0,
"queueDepth": 0,
"nextWindow": "2026-07-15T12:00:00Z",
"lastPostAt": "2026-07-15T12:00:00Z"
}Responses
200Success404Error/v2/accounts/{accountId}/queue
Get an account queue
Parameters
| Name | In | Required | Type |
|---|---|---|---|
accountId | path | required | string |
limit | query | optional | integer |
cursor | query | optional | string |
Request
curl -X GET \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/accounts/ACCOUNT_ID/queue" \
-H "Authorization: Bearer $API_KEY"200 response
{
"data": [
{
"postId": "abc123",
"queueItemId": "abc123",
"status": "draft",
"caption": "A new post from HumanPost",
"thumbnailUrl": "https://example.com/media",
"queuedAt": "2026-07-15T12:00:00Z",
"scheduledAfter": "2026-07-15T12:00:00Z",
"scheduledSlotStart": "2026-07-15T12:00:00Z"
}
],
"nextCursor": "cursor_abc123"
}Responses
200Success/v2/accounts/{accountId}/analytics
Get account analytics
Parameters
| Name | In | Required | Type |
|---|---|---|---|
accountId | path | required | string |
Request
curl -X GET \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/accounts/ACCOUNT_ID/analytics" \
-H "Authorization: Bearer $API_KEY"200 response
{
"accountId": "abc123",
"followers": 0,
"posts": 0,
"engagement": 0,
"analytics": {
"views": 0,
"likes": 0,
"comments": 0
},
"scannedPosts": 0
}Responses
200SuccessWorkspace#
/v2/workspace
Read a company workspace
Returns only the company bound to the API key, its connected accounts, and sanitized image folder and pack metadata. Requires workspace:read.
Request
curl -X GET \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/workspace" \
-H "Authorization: Bearer $API_KEY"200 response
{
"version": 1,
"company": {
"companyId": "abc123",
"name": "string",
"description": "string",
"website": "string"
},
"accounts": [
{
"accountId": "abc123",
"platform": "tiktok",
"username": "humanpost",
"displayName": "string",
"status": "string",
"timezone": "string",
"followers": 0,
"postsToday": 0,
"dailyCap": 0,
"queueDepth": 0,
"nextWindow": "2026-07-15T12:00:00Z",
"lastPostAt": "2026-07-15T12:00:00Z",
"niche": "string",
"warmupSearchTerms": [
"string"
]
}
],
"folders": [
{
"folderId": "abc123",
"name": "string",
"createdAt": "2026-07-15T12:00:00Z",
"images": [
{
"imageId": "abc123",
"folderId": "abc123",
"label": "string",
"description": "string",
"tags": [
"string"
],
"width": 0,
"height": 0,
"createdAt": "2026-07-15T12:00:00Z"
}
],
"packs": [
{
"packId": "abc123",
"folderId": "abc123",
"name": "string",
"description": "string",
"color": "string",
"imageIds": [
"abc123"
],
"imageFit": "fit",
"useImagesOnce": true
}
]
}
],
"refreshedAt": "2026-07-15T12:00:00Z"
}Responses
200Success401Error403Error404Error/v2/workspace/media-urls
Create short-lived image download URLs
Resolves selected images through company-owned folder records before signing. Storage paths and credentials are never accepted from the caller. Requires media:read.
Request body
itemsarray<object>requiredmin items 1 · max items 100
folderIdstringrequiredmin length 1 · max length 200imageIdstringrequiredmin length 1 · max length 200expiresInSecondsintegermin 60 · max 3600Request
curl -X POST \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/workspace/media-urls" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"items": [
{
"folderId": "abc123",
"imageId": "abc123"
}
]
}'200 response
{
"expiresAt": "2026-07-15T12:00:00Z",
"data": [
{
"folderId": "abc123",
"imageId": "abc123",
"url": "https://example.com/media"
}
]
}Responses
200Success400Error401Error403Error404ErrorUsage & meta#
/v2/openapi.json
OpenAPI document
Request
curl -X GET \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/openapi.json" \
-H "Authorization: Bearer $API_KEY"200 response
{}Responses
200Success/v2/usage
Get plan and API usage
Request
curl -X GET \
"https://us-central1-clickbaitcarousel.cloudfunctions.net/publishingApi/v2/usage" \
-H "Authorization: Bearer $API_KEY"200 response
{
"plan": "string",
"billingType": "string",
"videoQuota": 0,
"videoCount": 0,
"postCredits": {
"limit": 0,
"used": 0
},
"postsPerDay": 0,
"apiRequestsToday": 0,
"postsCreatedToday": 0
}Responses
200Success