Create a user-owned API token valid until revoked

Requires a current interactive user session. Organization membership and product permissions are revalidated. Only the first creation returns the full value; exact replay returns metadata and a null value. Save the first response locally without putting it in logs or agent prompts. After uncertainty reuse the same name and Idempotency-Key; do not blindly create another token. Available at zero credits.

post/v1/organizations/{organization_id}/user-api-keys

Request

  • Base URL: https://app.ohmyho.st
  • URL: https://app.ohmyho.st/v1/organizations/{organization_id}/user-api-keys
  • Auth: HTTP bearer

Path parameters

organization_idstring required

Headers

X-Request-Idstring

Optional caller-provided correlation identifier.

Idempotency-Keystring required

Identifies one mutation and its canonical request payload.

Request body

namestring required

Response

Original token observed; the full value cannot be retrieved again.

request_idstring required
replayedfalse required
valuestring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.