cURL
curl --request POST \ --url https://app.tryordinal.com/api/v1/posts/{id}/archive \ --header 'Authorization: Bearer <token>'
{ "id": "550e8400-e29b-41d4-a716-446655440000", "workspaceId": "660e8400-e29b-41d4-a716-446655440000", "archivedAt": "2026-02-18T14:30:00.000Z" }
Archive a post by ID. The post is moved to Trash and will be permanently deleted after 30 days. Use the unarchive endpoint to restore it.
API key authentication. Generate an API key from your workspace settings.
Post ID (UUID)
Post archived successfully
Post ID
Workspace ID
When the post was archived
Was this page helpful?