Verify credential
Uses the credential for real, against the provider, and records the outcome on it. A credential nobody verified is the usual reason a channel is quietly dead, which is why verified_at and last_error are first-class fields rather than log lines. detail is whatever the provider said — the bot's username, the relay's greeting, or the refusal — shown verbatim, because "it didn't work" is not actionable. 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
Authorization
BearerAuth 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
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
1 <= length <= 191CredentialKind is a kind of delivery credential notify can hold on somebody's behalf. Each one serves a channel, and each declares its own fields — see CredentialKindSpec — so adding a kind is a server change rather than another console screen.
"CREDENTIAL_KIND_UNSPECIFIED" | "CREDENTIAL_KIND_DISCORD_BOT" | "CREDENTIAL_KIND_SMTP" | "CREDENTIAL_KIND_APNS" | "CREDENTIAL_KIND_FCM" | "CREDENTIAL_KIND_WEB_PUSH"Response Body
application/json
application/json
curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.CredentialService/VerifyCredential" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"ok": "true",
"detail": "connected to smtp.example.com: 220 smtp.example.com ESMTP ready",
"credential": "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]"
}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`
Devices and preferences
Everywhere one person can be reached and how they want to be: push devices, the Discord link, the preference grid and suppressed addresses.