cURL
curl --request GET \ --url https://api.contextual.ai/v1/workspaces/consent \ --header 'Authorization: Bearer <token>'
{ "status": "<string>", "email": "<string>", "created_at": "<string>" }
Retrieve the current consent status for the workspace.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Response for the endpoint that retrieves the consent status for the workspace.
The current consent status in ConsentType.
ConsentType
The email of the user who granted or revoked the consent
The timestamp when the consent was granted or revoked
Was this page helpful?