Documentation menu
Posts

Update a publication

Reschedule a scheduled publication or draft, or replace its post.

PATCHhttps://app.tryadeli.com/api/v1/publications/{publicationId}
AuthorizationBearer <API key>How keys work

Reschedules a scheduled publication or a draft, or replaces its post. A draft given a scheduledFor becomes scheduled. Only a publication that is still scheduled or a draft can change: once it has started, or was canceled, the request answers 409.

Path parameters

publicationIduuidRequired
The id from the create response or List publications.

Body

scheduledForstring
The new time, as ISO 8601 with a UTC offset, from one minute to 365 days ahead.
timeZonestring
The IANA zone the time was chosen in, such as America/New_York. Kept only for display.
platformsarray
Replaces the whole post, with the same shape as Publish to several accounts. Required when content or media is sent.
contentstring
The new shared text, with platforms.
mediaarray
The new shared media, with platforms.

A replaced post is validated exactly as Publish to several accounts validates a new one.