---
title: "Register an identity client"
method: POST
path: "/v1/identity/clients"
tags: ["Identity"]
---

# Register an identity client

`POST /v1/identity/clients`

## Request

- Base URL: `https://api.deadsimple.email`
- URL: `https://api.deadsimple.email/v1/identity/clients`
- Auth: HTTP bearer

Same registration as POST https://id.deadsimple.email/register, wrapped in the standard API envelope for the dashboard and SDKs (`identity.register_client` / `identity.registerClient`). Requires the api_keys.create permission.

## Request body

- IdentityClientRegistration
  - `client_name` string
  - `client_uri` string
  - `logo_uri` string
  - `policy_uri` string
  - `tos_uri` string
  - `redirect_uris` string[], required: https, loopback http, or app-scheme URLs.
  - `scope` string: Any of openid, email, profile, owner_email, org, offline_access. openid is always included.
  - `token_endpoint_auth_method` 'none' | 'client_secret_basic' | 'client_secret_post'

## Response `201`

Client created. client_secret is shown once.

- IdentityClientCreated
  - `client_id` string
  - `client_name` string
  - `client_uri` string
  - `logo_uri` string
  - `redirect_uris` string[]
  - `token_endpoint_auth_method` 'none' | 'client_secret_basic' | 'client_secret_post'
  - `scope` string: Space-separated scopes the client may request.
  - `grant_types` string[]
  - `response_types` string[]
  - `created_at` string, date-time
  - `client_secret` string: dse_ics_ secret. Shown once; stored hashed. Absent when token_endpoint_auth_method is none.
  - `client_secret_expires_at` integer: 0 means the secret does not expire.
  - `client_id_issued_at` integer
  - `warning` string
  - `issuer` string
  - `discovery_url` string

## Other responses

- `400`: Validation error (redirect_uris missing or malformed, unsupported auth method).
- `403`: Key lacks api_keys.create, or an MCP OAuth token was used.

---

[API](https://skmtc.dev/deadsimple/apis/dead-simple-email-api.md) · [All operations](https://skmtc.dev/deadsimple/apis/dead-simple-email-api/llms.txt) · [OpenAPI document](https://skmtc.dev/deadsimple/apis/dead-simple-email-api/revisions/c697881be131?raw)
