Skip to main content
POST
Schedule a new post

Authorizations

x-api-key
string
header
default:yalg_live_your_api_key
required

YALG Developer API key. Send it in the x-api-key header from a server-side environment only.

Body

application/json
date
string
required

Date for the scheduled post in YYYY-MM-DD format

Example:

"2024-01-16"

time
string
required

Time for the scheduled post in HH:MM format (24-hour)

Example:

"09:00"

postId
string<uuid>
required

UUID of the post to schedule

Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

Post scheduled successfully