---
title: "Issue an HMAC-signed tenant-scoped beta credential for one org_id and role."
method: POST
path: "/admin/tenant-keys/issue"
---

# Issue an HMAC-signed tenant-scoped beta credential for one org_id and role.

`POST /admin/tenant-keys/issue`

## Request

- Base URL: `https://api.basecite.com`
- URL: `https://api.basecite.com/admin/tenant-keys/issue`
- Auth: none declared

## Request body

- object
  - `org_id` string, required
  - `role` 'solution_company_upload' | 'ai_reader', required
  - `scope` string
  - `expires_at` string, date-time

## Response `201`

Tenant token returned once to admin caller

- IssueTenantKeyResponse
  - `request_id` string
  - `trace_id` string
  - `data` object
    - `credential_id` string
    - `org_id` string
    - `role` string
    - `scope` string
    - `expires_at` string, date-time

## Other responses

- `400`: Invalid tenant credential request

---

[API](https://skmtc.dev/basecite/apis/basecite-stable-ai-context-api.md) · [All operations](https://skmtc.dev/basecite/apis/basecite-stable-ai-context-api/llms.txt) · [OpenAPI document](https://skmtc.dev/basecite/apis/basecite-stable-ai-context-api/revisions/2a269a68ba07?raw)
