v1
latestOpenAPI 3.1.02026-08-0616024.0 KBCreate a scheduled or a draft post
Returns an id of the post
post/post
Query parameters
workspaceIdstring required
Example:cmayvq3hk00017apshay5qezu
Ocoya workspace ID. Get one from GET /workspaces.
Request body
Example request
{
"caption": "Happy new year everyone!",
"mediaUrls": [
"https://yourmediaurl.com"
],
"socialProfileIds": [
"clh49poxf008x8kov4ncbjty9"
],
"scheduledAt": "2024-01-01T00:00:00Z"
}Response
Created