Ocoya API
Search
K

Get scheduled posts

Returns information about all your schedules.
get
https://app.ocoya.com/api/_public/v1
/schedules
Get schedules

Returns information about all your schedules.

Parameters
Query
page
integer
perPage
integer
Responses
200: OK
Success
500: Internal Server Error
Unknown error

Query parameters

Parameter
Type
Required
Information
page
integer
no
Page number
perPage
integer
no
Number of records per page (must follow Pagination limitations)

Sample response

1
[
2
{
3
"id": "clhbatosn000x8kfenovaodu2",
4
"scheduledAt": "2023-05-06T02:20:00.000Z",
5
"postGroup": {
6
"posts": [
7
{
8
"caption": "aaaa",
9
"creatives": []
10
}
11
]
12
},
13
"schedules": [
14
{
15
"error": null,
16
"socialProfile": {
17
"provider": "twitter",
18
"name": "Ocoya",
19
"socialId": "0000000000000000000"
20
}
21
}
22
]
23
}
24
]