Skip to content

API endpoints

This is every endpoint a hub API key can call. A key is refused on any other route with 403 API_KEY_ROUTE_NOT_ALLOWED, whatever scopes it carries. The list is generated from the platform’s own allowlist and route table, so it changes when the API does.

Each scope has its own table. The line above it gives the scope, the lowest plan and the rate per key, which are the same for every endpoint in it.

  • Base URL. Every path is relative to https://api.fanzava.com. Replace :hubId, :competitionId and the other :name segments with real ids. A key only ever acts on the hub it was issued for. See Base URL.
  • Scope. The scope the key must carry. A key without it is refused with 403. Read scopes start read: and write scopes start write:. See Scopes.
  • Plan. The lowest plan that can call the endpoint. Read endpoints start on Growth. Write endpoints start on Pro, because on a read-only plan write scopes are removed from the key when it is used. See What your plan allows.
  • Rate per key. The limit is per key, not per endpoint: every call a key makes counts against one allowance, set by the hub’s plan. The figure is the range from the lowest plan that can call the endpoint up to Enterprise. See Rate limits.

Routes under /api/me and /api/v1/users/me return the profile of the hub admin who created the key, never a roster of the hub’s participants. GET /api/v1/hubs/:hubId/invites also accepts a key with write:members.

read:achievements

Scope: read:achievements. Plan: Growth and above. Rate per key: 60–10,000 rpm. 17 endpoints.

MethodPath
GET/api/v1/achievements
GET/api/v1/achievements/:id
GET/api/v1/achievements/:id/progress
POST/api/v1/achievements/bulk-progress
GET/api/v1/achievements/categories
GET/api/v1/achievements/category/:category
GET/api/v1/achievements/check-on-the-board
GET/api/v1/achievements/history
GET/api/v1/achievements/leaderboard
GET/api/v1/achievements/rarities
GET/api/v1/achievements/rarity/:rarity
GET/api/v1/achievements/recent
GET/api/v1/achievements/recommendations
GET/api/v1/achievements/search
GET/api/v1/achievements/stats
GET/api/v1/hubs/:hubId/achievements
GET/api/v1/hubs/:hubId/achievements/leaderboard

write:achievements

Scope: write:achievements. Plan: Pro and above. Rate per key: 300–10,000 rpm. 1 endpoint.

MethodPath
POST/api/v1/achievements/trigger

read:competitions

Scope: read:competitions. Plan: Growth and above. Rate per key: 60–10,000 rpm. 9 endpoints.

MethodPath
GET/api/v1/hubs/:hubId/competitions
GET/api/v1/hubs/:hubId/competitions/:competitionId
GET/api/v1/hubs/:hubId/competitions/:competitionId/fixtures
GET/api/v1/hubs/:hubId/competitions/:competitionId/fixtures/:fixtureId
GET/api/v1/hubs/:hubId/competitions/:competitionId/prize-ledger
GET/api/v1/hubs/:hubId/competitions/:competitionId/prize-ledger/compliance
GET/api/v1/hubs/:hubId/competitions/:competitionId/prizes
GET/api/v1/hubs/:hubId/competitions/:competitionId/rounds
GET/api/v1/hubs/:hubId/competitions/:competitionId/statistics

write:competitions

Scope: write:competitions. Plan: Pro and above. Rate per key: 300–10,000 rpm. 6 endpoints.

MethodPath
PATCH/api/v1/hubs/:hubId/competitions/:competitionId/prize-ledger/allocations/:allocationId
POST/api/v1/hubs/:hubId/competitions/:competitionId/prize-ledger/allocations/:allocationId/accept-compliance
POST/api/v1/hubs/:hubId/competitions/:competitionId/prize-ledger/allocations/:allocationId/notify
POST/api/v1/hubs/:hubId/competitions/:competitionId/prize-ledger/allocations/:allocationId/resolve-tie
POST/api/v1/hubs/:hubId/competitions/:competitionId/prize-ledger/compliance/accept
POST/api/v1/hubs/:hubId/competitions/:competitionId/prize-ledger/prizes

read:hub

Scope: read:hub. Plan: Growth and above. Rate per key: 60–10,000 rpm. 2 endpoints.

MethodPath
GET/api/v1/hubs/:hubId/settings
GET/api/v1/hubs/:hubId/theme

read:leaderboards

Scope: read:leaderboards. Plan: Growth and above. Rate per key: 60–10,000 rpm. 5 endpoints.

MethodPath
GET/api/v1/hubs/:hubId/competitions/:competitionId/leaderboard
GET/api/v1/hubs/:hubId/competitions/:competitionId/survivor/table
GET/api/v1/hubs/:hubId/leaderboard
GET/api/v1/hubs/:hubId/leaderboard/accuracy
GET/api/v1/hubs/:hubId/leaderboard/stats

read:members

Scope: read:members. Plan: Growth and above. Rate per key: 60–10,000 rpm. 2 endpoints.

MethodPath
GET/api/v1/hubs/:hubId/csv/import/:importId/status
GET/api/v1/hubs/:hubId/invites

write:members

Scope: write:members. Plan: Pro and above. Rate per key: 300–10,000 rpm. 2 endpoints.

MethodPath
POST/api/v1/hubs/:hubId/csv/import/users
POST/api/v1/hubs/:hubId/invites

read:tips

Scope: read:tips. Plan: Growth and above. Rate per key: 60–10,000 rpm. 10 endpoints.

MethodPath
GET/api/v1/hubs/:hubId/competitions/:competitionId/fixtures/:fixtureId/tips
GET/api/v1/hubs/:hubId/competitions/:competitionId/fixtures/:fixtureId/tips/status
GET/api/v1/hubs/:hubId/competitions/:competitionId/joker-status
GET/api/v1/hubs/:hubId/competitions/:competitionId/my-tips
GET/api/v1/hubs/:hubId/competitions/:competitionId/powerups
GET/api/v1/hubs/:hubId/competitions/:competitionId/rounds/:roundId/confidence
GET/api/v1/hubs/:hubId/competitions/:competitionId/survivor/me
GET/api/v1/hubs/:hubId/competitions/:competitionId/tips/:tipId
GET/api/v1/hubs/:hubId/tips/history
GET/api/v1/hubs/:hubId/tips/statistics

write:tips

Scope: write:tips. Plan: Pro and above. Rate per key: 300–10,000 rpm. 13 endpoints.

MethodPath
POST/api/v1/hubs/:hubId/competitions/:competitionId/bracket/picks
POST/api/v1/hubs/:hubId/competitions/:competitionId/race-tips
POST/api/v1/hubs/:hubId/competitions/:competitionId/rounds/:roundId/commit
POST/api/v1/hubs/:hubId/competitions/:competitionId/rounds/:roundId/confidence
POST/api/v1/hubs/:hubId/competitions/:competitionId/rounds/:roundId/joker
POST/api/v1/hubs/:hubId/competitions/:competitionId/rounds/:roundId/powerup
DELETE/api/v1/hubs/:hubId/competitions/:competitionId/rounds/:roundId/powerup
POST/api/v1/hubs/:hubId/competitions/:competitionId/survivor/entries/:entryId/rounds/:roundId/pick
POST/api/v1/hubs/:hubId/competitions/:competitionId/tips
PATCH/api/v1/hubs/:hubId/competitions/:competitionId/tips/:tipId
DELETE/api/v1/hubs/:hubId/competitions/:competitionId/tips/:tipId
POST/api/v1/hubs/:hubId/competitions/:competitionId/tips/:tipId/draw-bonus
POST/api/v1/hubs/:hubId/tips/batch

read:users

Scope: read:users. Plan: Growth and above. Rate per key: 60–10,000 rpm. 6 endpoints.

MethodPath
GET/api/me
GET/api/v1/users/me
GET/api/v1/users/me/hubs
GET/api/v1/users/me/hubs-and-competitions
GET/api/v1/users/me/memberships
GET/api/v1/users/me/terms

read:webhooks

Scope: read:webhooks. Plan: Growth and above. Rate per key: 60–10,000 rpm. 4 endpoints.

MethodPath
GET/api/v1/hubs/:hubId/webhooks
GET/api/v1/hubs/:hubId/webhooks/:webhookId
GET/api/v1/hubs/:hubId/webhooks/:webhookId/deliveries
GET/api/v1/hubs/:hubId/webhooks/health

write:webhooks

Scope: write:webhooks. Plan: Pro and above. Rate per key: 300–10,000 rpm. 6 endpoints.

MethodPath
POST/api/v1/hubs/:hubId/webhooks
PUT/api/v1/hubs/:hubId/webhooks/:webhookId
DELETE/api/v1/hubs/:hubId/webhooks/:webhookId
POST/api/v1/hubs/:hubId/webhooks/:webhookId/deliveries/:deliveryId/retry
POST/api/v1/hubs/:hubId/webhooks/:webhookId/rotate-secret
POST/api/v1/hubs/:hubId/webhooks/:webhookId/test

Creating, changing and deleting competitions, entering fixtures and results, and changing hub settings, branding or themes are not available to a key. Drawing a prize and overriding a prize allocation need a signed-in hub admin who has just confirmed with multi-factor authentication. Do these in the hub’s admin dashboard.

Was this page helpful?

Raise a ticket about this page

Comments