curl --request GET \
--url https://api.gospott.com/consents \
--header 'x-api-key: <api-key>'{
"consents": [
{
"id": "<string>",
"framework": "GDPR",
"legalBasis": {
"name": "CONSENT"
},
"purpose": {
"purpose": {
"type": "custom",
"id": "<string>",
"name": "<string>"
}
},
"comments": "<string>",
"status": "GRANTED",
"source": "candidate-portal",
"receivedAt": "2023-11-07T05:31:56Z",
"validUntil": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}Retrieve the latest consent per purpose for a given candidate. Returns all active consents associated with the candidate ID.
curl --request GET \
--url https://api.gospott.com/consents \
--header 'x-api-key: <api-key>'{
"consents": [
{
"id": "<string>",
"framework": "GDPR",
"legalBasis": {
"name": "CONSENT"
},
"purpose": {
"purpose": {
"type": "custom",
"id": "<string>",
"name": "<string>"
}
},
"comments": "<string>",
"status": "GRANTED",
"source": "candidate-portal",
"receivedAt": "2023-11-07T05:31:56Z",
"validUntil": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z"
}
]
}Documentation Index
Fetch the complete documentation index at: https://api-docs.spott.io/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication. Get your API key from Settings → API Keys in your Spott dashboard.
The ID of the candidate
1Successfully retrieved consents for the candidate.
Show child attributes