---
title: "Create OAuth grant"
method: POST
path: "/oauth/grants"
tags: ["OAuth Protocol"]
---

# Create OAuth grant

`POST /oauth/grants`

Create an OAuth authorization grant

## Request body

- CreateOAuthGrantRequest
  - `allowed` boolean, required — Whether the grant is allowed
  - `consent_token` string, required — Consent token

## Response `200`

Grant created successfully

- CreateGrantResponse
  - `redirect_uri` string, uri, required — Redirect URI with authorization code or error

## Other responses

- `422` — Invalid consent token

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api/versions/e32d46c5945b/schema)
