Dates
Use ISO 8601 datetime strings for scheduled post times.Pagination
List endpoints can accept pagination parameters such aspage and perPage when supported by the endpoint.
Use small page sizes for user-facing interfaces and larger page sizes only for background jobs that can tolerate slower responses.
Media URLs
Post media URLs must be absolute URLs that Ocoya can fetch.Workspace-Scoped Requests
Most publishing and workflow operations need aworkspaceId.
Use GET /workspaces first, then pass the selected workspace ID to endpoints such as:
GET /social-profilesGET /brand-kitsGET /hashtag-librariesGET /postPOST /postPOST /post/aiPOST /campaignsGET /workflow
Social Profile IDs
UseGET /social-profiles?workspaceId=WORKSPACE_ID to find the socialProfileIds that posts should target.
Only use profiles connected to the same workspace as the post.