X-Api-Key and Authorization: Bearer <access_token> from /v2/oauth/token. Endpoint role checks are tenant-specific.curl --location 'https://api.studiointern.de//v2/own/cf/leads?date_from=&date_until=' \
--header 'X-Api-Key: <api-key>' \
--header 'Authorization: Bearer <token>'{
"success": true,
"code": 0,
"locale": "de",
"message": "string",
"data": {
"plugin_info": {
"name": "string",
"version": "string",
"related": {
"organisation": "string",
"is_booked": true,
"next": "string"
}
},
"leads": [
{
"id": 0,
"appointment_date": "2019-08-24",
"lesson": "string",
"student": "string",
"remarks": "string",
"origin": "string",
"remote_ip": "string",
"created_at": "string",
"last_editor": "string"
}
]
},
"links": {},
"meta": {}
}