v1
latestOpenAPI 3.1.02026-08-0616024.0 KBUpdate post
Returns an id of the updated post
patch/post/{postId}
Path parameters
postIdstring required
Example:cmajvvb9q0003ja5vh0538j6r
Ocoya post ID.
Request body
Example request
{
"caption": "Launching our summer campaign today.",
"scheduledAt": "2024-01-01T00:00:00Z",
"publishNow": true,
"brandId": "cmayw7l5200067apsmz2tv7e8",
"mediaUrls": [
"https://example.com/image.jpg"
],
"addMediaUrls": [
"https://example.com/image.jpg"
],
"socialProfileIds": [
"clh49poxf008x8kov4ncbjty9"
],
"addSocialProfileIds": [
"clh49poxf008x8kov4ncbjty9"
]
}Response
Success