Describe kinds
What credentials can be registered and what each one needs: its fields, which of them are secret, their input types and defaults, the channel it serves, and whether this deployment already holds a platform-wide default of that kind. The console builds its forms from this, which is what keeps a new kind from needing new UI.
Required scopes: notify:credentials:read
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
Response Body
application/json
application/json
curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.CredentialService/DescribeKinds" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"kinds": [
"map[blurb:Where this owner's email leaves from. Either an SMTP relay, or an AWS IAM key. channel:CHANNEL_EMAIL fields:[map[hint:Leave empty to use SES with the AWS key below. input:text label:SMTP host name:host placeholder:smtp.example.com required:false secret:false] map[input:text label:Password name:password required:false secret:true]] kind:CREDENTIAL_KIND_SMTP name:Mail relay platformDefault:true]"
]
}Delete credential POST
Removes the credential for one (owner, kind). Deliveries fall back to the next owner in the resolution chain, which is usually the deployment default — so this is a demotion rather than a breakage. Where the deployment holds no default of that kind, the channel stops working for that owner. 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`
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`