Last updated 5 months ago
Was this helpful?
curl -L \ --url 'https://api.apono.io/api/v2/identities' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "data": [ { "type": "text", "name": "text", "id": "text" } ], "pagination": { "total": 1, "limit": 1, "offset": 1 } }
curl -L \ --url 'https://api.apono.io/api/v2/bulk/identities/attributes' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "data": [ { "email": "text", "attributes": { "ANY_ADDITIONAL_PROPERTY": "text" } } ], "pagination": { "total": 1, "limit": 1, "offset": 1 } }
curl -L \ --request PUT \ --url 'https://api.apono.io/api/v2/bulk/identities/attributes' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '[ { "email": "text", "attributes": { "ANY_ADDITIONAL_PROPERTY": "text" } } ]'
{ "summary": { "total": 1, "succeeded": 1, "failed": 1 }, "results": [ { "email": "text", "success": true, "errors": [ { "error_code": "text", "error_details": "text" } ] } ] }
curl -L \ --request DELETE \ --url 'https://api.apono.io/api/v2/bulk/identities/attributes' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '[ { "email": "text", "attribute_types": [ "text" ] } ]'