Skip to main content
POST
Generate a New API Key Pair (Client-ID & Client-Secret)

Authorizations

Client-ID
string
header
required

Your UgaText Client-ID (e.g. uga_...). Accepted header aliases: X-Client-ID, or combined in Authorization: Bearer : / X-API-Key: :.

Client-Secret
string
header
required

Your UgaText Client-Secret (e.g. sk_live_...). Accepted header alias: X-Client-Secret.

Body

application/json
name
string
Example:

"Production Backend"

mode
enum<string>
Available options:
live,
test
Example:

"live"

scopes
string[]
Example:

Response

API Key pair generated