---
title: "Create a grant"
method: POST
path: "/v3/users/{userId}/grants"
tags: ["Grants"]
---

# Create a grant

`POST /v3/users/{userId}/grants`

Creates a user grant.

## Path parameters

- `userId` string, required

## Request body

- object
  - `entitlement_type` 'bundle' | 'entitlement' | 'meter' | 'credits', required — An enum describing the type of the entitlement.
  - `entitlement_id` string, required
  - `startTime` string
  - `endTime` string
  - `product_id` string, required

## Response `201`

Created

## Other responses

- `400` — Bad Request
- `403` — Forbidden. You need one of the following privileges to access this endpoint: Identity Module, Products Module, B2B Module or Journey Module
- `409` — The user does not exist

---

[API](https://skmtc.net/zuora/apis/admin-api-reference.md) · [All operations](https://skmtc.net/zuora/apis/admin-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zuora/admin-api-reference/revisions/789812d35ac8/schema)
