Create a scheduled or a draft post
API Reference
Create a scheduled or a draft post
Returns an id of the post
POST
Create a scheduled or a draft post
Authorizations
Query Parameters
Ocoya workspace ID. Get one from GET /workspaces.
Example:
"cmayvq3hk00017apshay5qezu"
Body
application/json
- Option 1
- Option 2
- Option 3
Text caption for the post.
Example:
"Happy new year everyone!"
Publicly accessible media URLs to attach to the post.
Example:
["https://yourmediaurl.com"]Connected social profile IDs that should receive the post. Get IDs from GET /social-profiles.
Example:
["clh49poxf008x8kov4ncbjty9"]ISO 8601 datetime when the post should be scheduled. Omit to save as draft.
Example:
"2024-01-01T00:00:00Z"
Response
Created