Create an org-level secret
Create a secret for an organization.
Authentication
AuthorizationBearer
Personal API Key (apk_user_) or Service API Key (apk_)
Path parameters
org_id
Request
This endpoint expects an object.
key
Name/key of the secret (e.g. GITHUB_TOKEN).
type
Secret type: key-value, cookie, dictionary, or totp.
Allowed values:
value
The secret value to store.
is_sensitive
Whether to mask the value in the UI (default true).
note
Optional human-readable note describing the secret purpose.
Response
Successful Response
access_type
Scope of the secret: org or personal.
Allowed values:
created_at
ISO 8601 timestamp when the secret was created.
created_by
User ID of the creator.
is_sensitive
Whether the value is masked in the UI.
key
Name/key of the secret.
note
Human-readable description of the secret purpose.
secret_id
Unique identifier for the secret (prefix secret-).
secret_type
Type of the secret: key-value, cookie, dictionary, or totp.
Allowed values:
updated_at
ISO 8601 timestamp of the last update.
updated_by
User ID of the last person to update the secret.
Errors
422
Unprocessable Entity Error