AltSportsLeagues

Create API Key

Create a new API key

Create API Key

POST /v1/api-keys/create

Create a new API key with specified scopes and permissions.

Request

cURL
curl -X POST "https://api.altsportsleagues.ai/v1/api-keys/create" \
  -H "Authorization: Bearer ADMIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "My Integration Key", "scopes": ["leagues:read", "discovery:read"]}'

On this page