Clubfit Software API (BETA) (1.0)

This API documentation provides technical information about integrating to Clubfit Software.

PLEASE NOTE

Clubfit utilizes Oauth2 for authentication and the header x-api-token for the authorisation. Both need to be used in the API calls.

We will provide you with your temporary credentials along with an API key per club. Please reach out to support if you do not have these.


There are 2 API access plans currently available:

Basic Plan $20 per club per month (ex GST)

1 000 000 requests per month

Advanced Plan $50 per club per month (ex GST)

5 000 000 requests per month

Download OpenAPI description
Languages
Servers
https://api.clubfit.net.au/v1/

Authentication

API authentication. This endpoint will create an access token that you can then use for subsequent API calls.

Operations

Members

The member endpoints will return data relvant to member information.

Operations

Prospects

The prospect endpoints will return data relvant to prospect information.

Operations

Financial

The financial endpoints will return data relvant to financial information.

Operations

Gym disbursements

Request

Disbursement payments made to your club

Query
fromdatestring(date-time)

Filter disbursements by payment date and time.

Example: fromdate=2024-08-24T00:00:00
offsetinteger(int32)

The index of the first result to return. Use with limit to get the next page of search results.

limitinteger(int32)[ 0 .. 500 ]

The maximum number of results to return.

Default 500
Headers
x-api-keystringrequired

Api key per club provided to you by Clubfit

curl -i -X GET \
  'https://api.clubfit.net.au/v1/financial/disbursements?fromdate=2024-08-24T00%3A00%3A00&limit=500&offset=0' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'x-api-key: string'

Responses

Disbursements matching criteria

Bodyapplication/json
hrefstring

Current API URL

Example: "https://api.clubfit.net.au/v1/financial/disbursement"
nextstring

Next API URL to retrieve the next page

Example: "https://api.clubfit.net.au/v1/financial/disbursement?limit=500&offset=500"
dataArray of objects(Disbursement)
Response
application/json
{ "href": "https://api.clubfit.net.au/v1/financial/disbursement", "next": "https://api.clubfit.net.au/v1/financial/disbursement?limit=500&offset=500", "data": [ {} ] }

Debt collection

Request

Member details sent to debt collection

Query
fromdatestring(date-time)

Filter by date sent to debt collection.

Example: fromdate=2024-08-24T00:00:00
offsetinteger(int32)

The index of the first result to return. Use with limit to get the next page of search results.

limitinteger(int32)[ 0 .. 500 ]

The maximum number of results to return.

Default 500
Headers
x-api-keystringrequired

Api key per club provided to you by Clubfit

curl -i -X GET \
  'https://api.clubfit.net.au/v1/financial/debtcollection?fromdate=2024-08-24T00%3A00%3A00&limit=500&offset=0' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'x-api-key: string'

Responses

Debt collection records matching criteria

Bodyapplication/json
hrefstring

Current API URL

Example: "https://api.clubfit.net.au/v1/financial/debtcollection"
nextstring

Next API URL to retrieve the next page

Example: "https://api.clubfit.net.au/v1/financial/debtcollection?limit=500&offset=500"
dataArray of objects(DebtCollection)
Response
application/json
{ "href": "https://api.clubfit.net.au/v1/financial/debtcollection", "next": "https://api.clubfit.net.au/v1/financial/debtcollection?limit=500&offset=500", "data": [ {} ] }