GET
/
workspaces
/
consent
Get Consent
curl --request GET \
  --url https://api.contextual.ai/v1/workspaces/consent \
  --header 'Authorization: Bearer <token>'
{
  "status": "<string>",
  "email": "<string>",
  "created_at": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

Response for the endpoint that retrieves the consent status for the workspace.

status
string
required

The current consent status in ConsentType.

email
string | null
required

The email of the user who granted or revoked the consent

created_at
string | null
required

The timestamp when the consent was granted or revoked