API reference
Get an active API key
Source: OpenAPI (openapi/openapi.yaml).
curl -X GET "https://api.sendtier.example/api-keys/string" \ -H "Authorization: Bearer st_live_REPLACE_ME"{ "id": "string", "name": "string", "mode": "live", "scope": "full", "prefix": "string", "created_at": "2019-08-24T14:15:22Z", "last_used_at": "2019-08-24T14:15:22Z"}GET
Requires a full-scope key.
header
AuthorizationBearer <token>API key: st_live_... or st_test_...
key_id*stringAPI key metadata without the secret.
application/json- response
id*stringname*stringmode*stringValue in
"live""test"scope*stringValue in
"full""sending""domain""read_only"prefix*stringStored lookup prefix, not the full secret.
created_at*stringFormat
date-timelast_used_at?stringFormat
date-time