Appointment, bookable appointment and slots operations
Magicline Open API
/API reference
/- Upload new document to a customer
Get customers
Get customer's checkin history
Get customer by id
Get customer by
Search customers
Get customer's contracts
Get customer's measurement
Get customer's contracts by
Save weighing results
Get customer's benefits
Get customer's benefits by
Post customer's benefit usage
Post customer's benefit usage by
Get customer's access code
Add a new access medium to a customer
Update customer's access medium
Delete customer's access medium
Returns all documents for a customer
Returns document for a customer
Update customer profile image
Set customer's access restriction
Delete customer's access restriction
Create customer
Get additional information fields
Sets additional information field assignments
Switch studio
Archive customer
Anonymise archived customer
Add a new access medium to a customer
Upload new document to a...
Magicline API (1.13.2)
- Appointment, bookable appointment and slots operations
- Redeem checkin vouchers
- Class and slots operations
- Cross studio operations
- Get customers and contracts
- Retrieve customer accounting details
- Retrieve customer communication details
- Get device information
- Employee operations
- Debt collection operations
- Leads operations
- Manage membership contracts
- Membership operations
- Online offer operations
- Payment operations
- Get studio information
- Get trial offers information
Download OpenAPI description
Languages
Servers
Demo tenant
https://open-api-demo.open-api.magicline.com/
Mock server
https://redocly.sportalliance.com/_mock/apis/magicline/openapi/openapi/
- Demo tenant
https://open-api-demo.open-api.magicline.com/v1/customers/{customerId}/documents
- Mock server
https://redocly.sportalliance.com/_mock/apis/magicline/openapi/openapi/v1/customers/{customerId}/documents
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://open-api-demo.open-api.magicline.com/v1/customers/{customerId}/documents?offset=0&sliceSize=10' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'Response
application/json
{ "result": [ { … } ], "hasNext": true, "offset": "1234567890" }
- Demo tenant
https://open-api-demo.open-api.magicline.com/v1/customers/{customerId}/documents
- Mock server
https://redocly.sportalliance.com/_mock/apis/magicline/openapi/openapi/v1/customers/{customerId}/documents
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://open-api-demo.open-api.magicline.com/v1/customers/{customerId}/documents?description=Member+contract' \
-H 'Content-Type: multipart/form-data' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-F file=stringResponse
application/json
{ "id": 1241246660 }
- Demo tenant
https://open-api-demo.open-api.magicline.com/v1/customers/{customerId}/documents/{id}
- Mock server
https://redocly.sportalliance.com/_mock/apis/magicline/openapi/openapi/v1/customers/{customerId}/documents/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://open-api-demo.open-api.magicline.com/v1/customers/{customerId}/documents/{id}' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'Response
application/json
{ "url": "string", "id": 1241246660, "fileName": "string", "description": "string" }