Ocoya API
Visit Ocoya
  • Getting Started
    • Introduction
    • Quick Start
  • Fundamentals
    • Authentication
    • Rate limits
    • Limitations
      • Date limitations
      • URL file limitations
      • Pagination limitations
  • Endpoints
    • Me
    • Workspaces
    • Social profiles
    • Posts
      • List posts
      • Create post
      • Update post
      • Delete post
  • Change log
    • 2025-05-16
    • 2024-10-10 (breaking)
  • Extra
    • HTTP status codes
Powered by GitBook

Last updated 4 days ago

Body parameters explained

Parameter
Type
Required
Information

scheduledAt

string

no

Sample response

{}

Date of the schedule (must follow )

Date limitations

Update post

patch

Returns the id of updated post

Authorizations
Path parameters
post_idstringRequiredExample: cmajvvb9q0003ja5vh0538j6r
Body
scheduledAtstringOptionalExample: 2024-01-01T00:00:00Z
Responses
200
Success
500
Unknown error
patch
PATCH /api/_public/v1/post/{post_id} HTTP/1.1
Host: app.ocoya.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 38

{
  "scheduledAt": "2024-01-01T00:00:00Z"
}

No content