Submit today's daily post
Creates the authenticated user's one post for the current Auckland day. Retry a lost response with the same Idempotency-Key: an identical retry returns the original post with Idempotent-Replayed: true, even after the deadline, while a changed request conflicts.
In: header
Header Parameters
A client-generated key reused for every retry of this submission, such as a UUID stored with the draft.
^[\x21-\x7e]+$1 <= length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/posts" \ -H "idempotency-key: 0f8fad5b-d9cb-469f-a165-70867728950e" \ -H "Content-Type: application/json" \ -d '{ "localDate": "2026-09-10", "promptId": "prompt-09-25", "reflectiveAnswer": "Walked to the harbour after class.", "rating": 7, "audience": "solo" }'{ "id": "post_01K4Y6P8K2", "authorId": "post_01K4Y6P8K2", "localDate": "2026-09-10", "prompt": { "id": "post_01K4Y6P8K2", "text": "What made you smile today?" }, "reflectiveAnswer": "string", "caption": "string", "rating": 0, "audience": "solo", "acceptedAt": "2026-09-09T12:00:00Z", "releasedAt": "2026-09-09T12:00:00Z", "tomorrowNote": { "availableOn": "2026-09-10" }, "media": [ { "id": "post_01K4Y6P8K2", "contentType": "image/jpeg", "order": 0 } ], "voiceMemo": { "id": "post_01K4Y6P8K2", "contentType": "audio/mp4" }, "weather": { "condition": "clear", "temperatureC": 18, "placeName": "Auckland" }}