Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://api.yalg.ai/v1/posts/scheduled/upcoming \ --header 'x-api-key: <api-key>'
[ { "id": "123e4567-e89b-12d3-a456-426614174000", "content": "Excited to share my thoughts on the future of AI in software development...", "status": "scheduled", "scheduledAt": "2024-01-16T09:00:00Z", "scheduledAtFormatted": "Tomorrow, 9:00 AM", "engagement": { "likes": 0, "comments": 0, "shares": 0 }, "anecdotes": [ { "id": "anecdote-id", "title": "AI Development Experience" } ], "linkedInUrl": null } ]
Retrieves posts that are scheduled to be published in the future
YALG Developer API key. Send it in the x-api-key header from a server-side environment only.
x-api-key
Number of posts to return (default: 10)
10
Upcoming scheduled posts retrieved successfully