Create Tournament API
Creates a new tournament. Requires an Idempotency-Key header: pass a unique string per request; retrying with the same key returns the original response instead of creating a duplicate tournament. Keys are retained for 10 minutes and are scoped per token.
post/v2/tournaments
Request
- Base URLhttps://api.astrozop.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Idempotency-Keystring required
Unique string per request. Sending the same key again returns the original response instead of creating a duplicate tournament. Keys are retained for 10 minutes, scoped per token.
Request body
Example request
{
"game_code": "B1MfIa4QCg",
"title": "Friday 1 Hour Challenge",
"starts_at": "2026-06-01T10:00:00Z",
"duration_seconds": 3600,
"max_score_attempts": 3
}Response
Tournament created successfully. The tournament is returned in the future state.
Changes
No recorded changes to this operation across all 1 revision of this API.