List your marketing campaigns
Magicline Connect API (1.0.0)
https://connectdemo.api.magicline.com/
https://redocly.sportalliance.com/_mock/apis/magicline/connectapi/connectapi/
Communication preferences for the customer. If specified, the list must contain an element for each message category.
locale of customer as ISO 639-1 two-letter language and country code (e.g. es_ES or de_DE)
Data privacy configuration for marketing purposes
addition for southern Europe/US countries (e.g. Madrid, California)
- Generated server url
https://connectdemo.api.magicline.com/connect/v1/lead
- Mock server
https://redocly.sportalliance.com/_mock/apis/magicline/connectapi/connectapi/connect/v1/lead
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://connectdemo.api.magicline.com/connect/v1/lead \
-H 'Content-Type: application/json' \
-d '{
"additionalAddressInformation": "string",
"city": "Hamburg",
"communicationPreferences": [
{
"activeCommunicationChannels": [
"LETTER"
],
"messageCategoryId": 0
}
],
"countryCode": "DE",
"dateOfBirth": "2019-08-24",
"door": "string",
"email": "string",
"firstname": "string",
"firstname2": "string",
"floor": "string",
"gender": "MALE",
"houseNumber": "3-4",
"lastname": "string",
"lastname2": "string",
"locale": "string",
"notes": "any notes about this lead",
"phone": "string",
"portal": "string",
"privacyConfiguration": {
"email": true,
"letter": true,
"mySportsMessage": true,
"phone": true,
"textMessage": true
},
"province": "string",
"provinceCode": "string",
"sourceCampaignId": 0,
"stairway": "string",
"street": "Raboisen",
"streetBlock": "string",
"streetType": "string",
"studioId": 0,
"taxId": "string",
"zipCode": 22099
}'- Generated server url
https://connectdemo.api.magicline.com/connect/v1/lead/{uuid}
- Mock server
https://redocly.sportalliance.com/_mock/apis/magicline/connectapi/connectapi/connect/v1/lead/{uuid}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://connectdemo.api.magicline.com/connect/v1/lead/{uuid}'OK
Communication preferences for the customer. If specified, the list must contain an element for each message category.
Should only be set if booking page has been called with URL param identityToken. If no lead exists with this UUID a new one will be created.
Data privacy configuration for marketing purposes