Skip to Content
Xeonr Developer Docs
API SpecificationCredentials

List my credentials

POST
/xeonr.notify.v1.CredentialService/ListMyCredentials

Everything the caller may manage: their own credentials, their teams', and those of the apps those teams own — the screen that answers "what am I sending as". owners is every owner they may register under, so the console can offer them rather than asking somebody to type a URN.

Cursor-paginated over credentials: newest first, over an opaque cursor over (created_at, id). limit is clamped to 500 (0 means the default of 50); pass next_cursor back as cursor for the next page. owners is not paged — it is the caller's complete set of registerable owners and is repeated on every page.

Required scopes: notify:credentials:read

Authorization

BearerAuth
AuthorizationBearer <token>

An access token from Xeonr Auth, presented as Authorization: Bearer <token>. Its audience must include https://notify.xeonr.io, and it must carry the scope the method lists.

In: header

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

cursor?string

Cursor is opaque, empty for the first page. The keyset is (created_at, id) descending over credentials.

Lengthlength <= 256
limit?integer

Limit is clamped to 500; zero means the default of 50.

Rangevalue <= 500
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.CredentialService/ListMyCredentials" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "credentials": [
    "map[createdAt:2026-10-01T09:30:00Z id:cr_9d1f3b5a7c2e4a6b8d0f2c4e kind:CREDENTIAL_KIND_SMTP label:XMB mail relay ownerLabel:XMB (xmb) ownerUrn:urn:xeonr:auth:application:7c2e9a41-58d3-4b6f-a0e2-9d14c6b83f57 secretsSet:[password] settings:map[from_address:[email protected] from_name:XMB host:smtp.example.com port:587 require_tls:true] updatedAt:2026-10-22T09:30:00Z updatedBy:urn:xeonr:auth:uid:user:3 usable:true verifiedAt:2026-10-22T09:30:00Z]"
  ],
  "owners": [
    "map[kind:user label:You urn:urn:xeonr:auth:uid:user:3]",
    "map[kind:app label:XMB (xmb) urn:urn:xeonr:auth:application:7c2e9a41-58d3-4b6f-a0e2-9d14c6b83f57]"
  ],
  "nextCursor": "eyJjIjoiMjAyNi0xMC0yMlQwOTozMDowMFoiLCJpIjoiY3JfOWQxZjNiNWE3YzJlIn0"
}

List credentials POST

One owner's registered credentials, by owner URN — an application, a team or a person. Secrets are never returned, only which of the kind's secret fields have a value on file, when the credential last passed its verify check, and what went wrong if it did not. Needs admin of the team that owns the app or the team itself, or `notify:platform:admin`. Cursor-paginated: newest first, over an opaque cursor over `(created_at, id)`. `limit` is clamped to 500 (0 means the default of 50); pass `next_cursor` back as `cursor` for the next page, and an empty `next_cursor` means there is no further page. A product's **service account** may call this for its own application — the one whose slug the account's token names — so a product owns its catalogue and its credentials without a person in the loop. **Required scopes:** `notify:credentials:read`

Put credential POST

Creates or updates the credential for one (owner, kind). A secret left empty or omitted keeps whatever is on file, so the console can show a form without holding the secret to re-submit it; to clear one, delete the credential. Secrets are sealed on the way in and never returned. A person may register under themselves, a team admin under the team, and an admin of the team owning an app under that app; a platform administrator may do any of it. A product's **service account** may call this for its own application — the one whose slug the account's token names — so a product owns its catalogue and its credentials without a person in the loop. **Required scopes:** `notify:credentials:admin`