---
title: "Grant a consent"
method: POST
path: "/api/cis/v1/identities/{id}/consents"
tags: ["Consents"]
---

# Grant a consent

`POST /api/cis/v1/identities/{id}/consents`

## Request body

- GrantConsentRequest
  - `scope` string, required
  - `policyId` string
  - `proof` object

## Response `201`

Consent granted

- Consent
  - `id` string, uuid
  - `identityId` string, uuid
  - `scope` string
  - `policyId` string, nullable
  - `version` integer
  - `status` 'GRANTED' | 'WITHDRAWN'
  - `proof` object, nullable
  - `grantedAt` string, date-time
  - `withdrawnAt` string, date-time, nullable

---

[API](https://skmtc.net/stalela/apis/stalela-cis-customer-identity-service-api.md) · [All operations](https://skmtc.net/stalela/apis/stalela-cis-customer-identity-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stalela/stalela-cis-customer-identity-service-api/revisions/3065faad0b6b/schema)
