Last updated 3 months ago
This endpoint returns an individual consent.
The id of the consent you wish to get.
Returns a consent.
const response = await fetch('https://apione.zwapgrid.com/consents//api/v1/consents/{consentId}', { method: 'GET', headers: { "x-correlation-id": "123e4567-e89b-12d3-a456-426614174000" }, }); const data = await response.json();
{ "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text", "status": 0, "source": "text", "createdOn": "2024-10-13T17:55:18.724Z", "updatedOn": "2024-10-13T17:55:18.724Z" }