---
title: "Register a sign-in app"
method: POST
path: "/v1/identity/clients"
tags: ["Shakehand"]
---

# Register a sign-in app

`POST /v1/identity/clients`

## Request

- Base URL: `https://api.agentboxd.com`
- URL: `https://api.agentboxd.com/v1/identity/clients`
- Auth: HTTP bearer

`{ name, type: "confidential" | "public" | "verify_only", redirect_uris?, allowed_scopes?, subject_type?: "pairwise" | "public", homepage_url? }` → `201 { client, client_secret }` (the secret only for confidential apps, shown once).

Permission: `identity:manage`.

## Request body

- object
  - `name` string, required
  - `type` 'confidential' | 'public' | 'verify_only'
  - `redirect_uris` string[]
  - `allowed_scopes` string[]
  - `subject_type` 'pairwise' | 'public'
  - `homepage_url` string, uri, nullable

## Response `200`

OK

- object

## Other responses

- `4XX`: Error
- `5XX`: Error

---

[API](https://skmtc.dev/agentboxd/apis/agentboxd-api.md) · [All operations](https://skmtc.dev/agentboxd/apis/agentboxd-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentboxd/apis/agentboxd-api/revisions/ee7b079f0e97?raw)
