---
title: "Create an authorization challenge"
method: POST
path: "/blaize/authorization/challenge"
tags: ["User"]
---

# Create an authorization challenge

`POST /blaize/authorization/challenge`

## Request

- Base URL: `https://demo-site`
- URL: `https://demo-site/blaize/authorization/challenge`
- Auth: one of:
  - API key in cookie `blaize_session`
  - API key in query parameter `jwt`
  - API key in header `x-blaize-jwt`
  - API key in header `x-zephr-jwt`
  - HTTP bearer
  - API key in cookie `blaize_jwt`

Authorization Challenge against array of entitlement IDs.

## Headers

- `cookie` string

## Request body

- object
  - `contentIdentifier` string
  - `endUserIPAddress` string
  - `entitlementIds` string[]
  - `giftToken` string
  - `referrer` string
  - `trustedReferrerToken` string

## Response `200`

OK

- CdnAuthChallengeResponse: A map from entitlement ID to the decision outcome

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/zuora/apis/zuora-2.md) - [All operations](https://skmtc.dev/zuora/apis/zuora-2/llms.txt) - [OpenAPI document](https://skmtc.dev/zuora/apis/zuora-2/revisions/678190d04c40?raw)
