Publisher Account
Publisher Account - Create
Generates a fresh key via PublisherAccountManager, INSERTs the hash + prefix + hint into publisher_account, and returns the plaintext IN THE RESPONSE BODY exactly once. The plaintext is unrecoverable after this call — the SPA MUST force a "copy this key" confirmation step before the modal closes. Body: account_name*, cpc_share (default 0.7000), rate_limit_tier (default 'default'), organic (default false).
post/admin/v1/publishers/{id}/accounts
Request
- Base URL: https://api.juju.com
- URL: https://api.juju.com/admin/v1/publishers/{id}/accounts
- Auth: none declared
Path parameters
idinteger required
Request body
Response
Created. data.api_key_plaintext is returned EXACTLY ONCE — unrecoverable after this response. data.warning explains this to the user.
Example response
{
"data": {
"api_key_prefix": "juju_pub_XY",
"api_key_hint": "abcd",
"cpc_share": "0.7000",
"rate_limit_tier": "default",
"min_payout": "0.1000"
},
"errors": []
}Changes
No recorded changes to this operation across all 1 revision of this API.