Privacy
List treatment purposes
GET /treatment_purposes
GET
/treatment_purposesReturns the treatment purposes of the account: the reasons for which personal data is collected, each with the consent text per language. People accept them when they sign up.
When to use: To see the consents that exist before enabling them in an audience, or to find the purposes to record in the member_consent of a customer.
When not to use: For who is responsible for the data use list_data_managers.
Permissions: Requires the manager role or higher, or the marketing.audiences.read capability.
X-Auth-Token<token>
Value for the X-Auth-Token header parameter.
In: header
Query Parameters
page?integer
The collection page number
Default
1itemsPerPage?integer
The number of items per page
Range
0 <= value <= 50Default
30Response Body
application/problem+json
application/problem+json
curl -X GET "https://api.easymailing.com/treatment_purposes" \ -H "X-Auth-Token: YOUR_API_KEY"[ { "id": 0, "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "translations": [ { "title": "string", "locale": "string" } ], "name": "string", "description": "string", "custom": true, "channels": [ "email" ] }]