ApiKeyCreateResponse
The response to creating a key: the full ApiKeyDto plus the plaintext token, which is shown only here. Subsequent reads (get/list) never return the token, so the client must store it now; it cannot be recovered later.
key object
The created key
The key id
7Hb2Kp9QvL3mNx0R8tZ4Human-readable label for the key
billing-syncToken prefix (e.g. adb_live)
adb_liveLast 4 characters of the token, for identification in a UI
a1b2True if the key has cross-network (super-user) access; then scopes is empty
falseKey status
Possible values: [active, revoked, expired]
activescopes object[]
Per-network access the key holds
The network this scope grants access to
7Hb2Kp9QvL3mNx0R8tZ4Role held on this network
Possible values: [read_only, administrator]
read_onlyLink to this network, so the key can navigate without constructing ids
https://api.adbridge.ai/external/v1/networks/7Hb2Kp9QvL3mNx0R8tZ4When the key was created
2026-01-15T09:30:00ZWhen the key was last used to authenticate a request, if ever
2026-01-15T09:30:00ZWhen the key expires, if an expiry was set; null means it never expires
2026-01-15T09:30:00ZThe plaintext API token. Shown ONLY on create — store it now; it cannot be retrieved again. Send it as Authorization: Bearer <token>.
adb_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxx{
"key": {
"id": "7Hb2Kp9QvL3mNx0R8tZ4",
"name": "billing-sync",
"prefix": "adb_live",
"display_last4": "a1b2",
"super_user": false,
"status": "active",
"scopes": [
{
"network_id": "7Hb2Kp9QvL3mNx0R8tZ4",
"role": "read_only",
"network_url": "https://api.adbridge.ai/external/v1/networks/7Hb2Kp9QvL3mNx0R8tZ4"
}
],
"created_at": "2026-01-15T09:30:00Z",
"last_used_at": "2026-01-15T09:30:00Z",
"expires_at": "2026-01-15T09:30:00Z"
},
"token": "adb_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}