Skip to main content
POST
/
get-hub-clubs
Get clubs for a token hub
curl --request POST \
  --url https://yppncslmsswqydhhgygz.supabase.co/functions/v1/get-hub-clubs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "token_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "limit": 20
}'
{
  "success": true,
  "clubs": [
    "<any>"
  ]
}

Authorizations

Authorization
string
header
required

JWT token or API key

Body

application/json
token_id
string<uuid>
required
limit
integer
default:20
Required range: 1 <= x <= 100

Response

Successful response

success
boolean
required
clubs
(any | null)[]
required