Substy Developers
Publishing

Get creator scheduled item counts

Count scheduled platform chats, posts or streams between calendar dates in the specified timezone. These counts describe publication queues, not team shifts.

GET/v1/agencies/{agencyId}/creators/{creatorId}/publication-schedules/counts

Count scheduled platform chats, posts or streams between calendar dates in the specified timezone. These counts describe publication queues, not team shifts.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

agencyId*string
Length1 <= length
creatorId*string

Query Parameters

publishDate*string
Match^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
Formatdate
publishDateEnd*string
Match^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
Formatdate
timeZone?string
Default"UTC"
type?string

Value in

  • "chat"
  • "post"
  • "stream"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/agencies/string/creators/string/publication-schedules/counts?publishDate=2019-08-24&publishDateEnd=2019-08-24" \  -H "Authorization: Bearer YOUR_API_KEY"
{  "data": {    "counters": null,    "syncInProcess": true,    "totalPosts": 0,    "totalChats": 0  },  "meta": {    "requestId": "string"  }}