---
title: "Check a Cloudflare Access token, then save it sealed. Refused, with the check in the detail, unless every permission is there."
method: POST
path: "/cloudflare-access/providers"
tags: ["Signed-in addresses"]
---

# Check a Cloudflare Access token, then save it sealed. Refused, with the check in the detail, unless every permission is there.

`POST /cloudflare-access/providers`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/cloudflare-access/providers`
- Auth: HTTP bearer

## Request body

- CreateAccessProviderRequest
  - `account_id` string, required
  - `name` string, required: A name to tell tokens apart.
  - `token` string, password, required: Checked, then sealed; never returned.

## Response `201`

- AccessProviderResponse: A saved Access token. The token itself is never returned.
  - `account_id` string, required
  - `addresses` integer, required: How many addresses it protects.
  - `api_token` string, required: Always `***`.
  - `created_at` string, date-time, required
  - `id` integer, required
  - `key_count` integer, required: How many signing keys listeners have for it now.
  - `keys_fetched_at` string, date-time, nullable: When the team's signing keys were last fetched.
  - `name` string, required
  - `team_domain` string, required: `<team>.cloudflareaccess.com`.

## Other responses

- `400`: The token is missing a permission
- `401`: Unauthorized
- `403`: Insufficient permissions
- `500`: Internal server error

## Changes

- **2026-11-09** `12896146b193`: 4 breaking
  - removed the required property `extensions` from the response with the `400` status
  - removed the required property `extensions` from the response with the `401` status
  - removed the required property `extensions` from the response with the `403` status
  - removed the required property `extensions` from the response with the `500` status
- **2026-10-26** `cddadf038293`: 1 info
  - endpoint added
- **2026-10-26** `198448ae2ca3`: 1 breaking
  - api path removed without deprecation
- **2026-10-26** `885279401bd3`: 1 breaking
  - the `token` request property format changed from no format to `password`
- **2026-10-26** `bfda9908d214`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/cloudflare-access/providers/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
