Certificates API
7 operations. Back to the API overview. Examples use synthetic data.
Is the inventory (?sender= narrows it), the expiry banner (accepted certificates within 30 days of expiry, or expired) and what the console may offer
GET /admin/v1/certificates
Is the inventory (?sender= narrows it), the expiry banner (accepted certificates within 30 days of expiry, or expired) and what the console may offer.
Needs the permission: config:history.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
sender | query | string | optional | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
auto_renewal | any | optional | - |
certificates | array of object (CertificateJSON) | optional | - |
certificates.[]accepted | boolean | optional | - |
certificates.[]created_at | string (date-time) | optional | - |
certificates.[]created_by | string | optional | - |
certificates.[]days_left | integer | optional | - |
certificates.[]from_ca | boolean | optional | - |
certificates.[]issuer | string | optional | - |
certificates.[]last_seen_at | string (date-time) | optional | - |
certificates.[]not_after | string (date-time) | optional | - |
certificates.[]not_before | string (date-time) | optional | - |
certificates.[]platform | string | optional | - |
certificates.[]renewal | string | optional | Renewal is "auto" (issued by automatic renewal: the agent renews it) or "manual". |
certificates.[]retire_at | string (date-time) | optional | - |
certificates.[]revoke_reason | string | optional | - |
certificates.[]revoked_at | string (date-time) | optional | - |
certificates.[]sender_id | string | optional | - |
certificates.[]serial | string | optional | - |
certificates.[]sha256 | string | optional | - |
certificates.[]source | string | optional | - |
certificates.[]status | string | optional | - |
certificates.[]subject | string | optional | - |
default_lifetime_days | any | optional | - |
default_overlap_days | any | optional | - |
expiring | array of object (CertificateJSON) | optional | - |
expiring.[]accepted | boolean | optional | - |
expiring.[]created_at | string (date-time) | optional | - |
expiring.[]created_by | string | optional | - |
expiring.[]days_left | integer | optional | - |
expiring.[]from_ca | boolean | optional | - |
expiring.[]issuer | string | optional | - |
expiring.[]last_seen_at | string (date-time) | optional | - |
expiring.[]not_after | string (date-time) | optional | - |
expiring.[]not_before | string (date-time) | optional | - |
expiring.[]platform | string | optional | - |
expiring.[]renewal | string | optional | Renewal is "auto" (issued by automatic renewal: the agent renews it) or "manual". |
expiring.[]retire_at | string (date-time) | optional | - |
expiring.[]revoke_reason | string | optional | - |
expiring.[]revoked_at | string (date-time) | optional | - |
expiring.[]sender_id | string | optional | - |
expiring.[]serial | string | optional | - |
expiring.[]sha256 | string | optional | - |
expiring.[]source | string | optional | - |
expiring.[]status | string | optional | - |
expiring.[]subject | string | optional | - |
issuance | any | optional | - |
platforms | array of map of string | optional | - |
reminder_days | any | optional | - |
revocation_reasons | any | optional | - |
unregistered_digests | array of map of string | optional | - |
{
"auto_renewal": {},
"certificates": [
{
"accepted": true,
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"days_left": 1,
"from_ca": true,
"issuer": "example",
"last_seen_at": "2026-01-15T14:30:00Z",
"not_after": "2026-01-15T14:30:00Z",
"not_before": "2026-01-15T14:30:00Z",
"platform": "example",
"renewal": "example",
"retire_at": "2026-01-15T14:30:00Z",
"revoke_reason": "Example text",
"revoked_at": "2026-01-15T14:30:00Z",
"sender_id": "example-id",
"serial": "example",
"sha256": "example",
"source": "example",
"status": "ok",
"subject": "example"
}
],
"default_lifetime_days": {},
"default_overlap_days": {},
"expiring": [
{
"accepted": true,
"created_at": "2026-01-15T14:30:00Z",
"created_by": "example",
"days_left": 1,
"from_ca": true,
"issuer": "example",
"last_seen_at": "2026-01-15T14:30:00Z",
"not_after": "2026-01-15T14:30:00Z",
"not_before": "2026-01-15T14:30:00Z",
"platform": "example",
"renewal": "example",
"retire_at": "2026-01-15T14:30:00Z",
"revoke_reason": "Example text",
"revoked_at": "2026-01-15T14:30:00Z",
"sender_id": "example-id",
"serial": "example",
"sha256": "example",
"source": "example",
"status": "ok",
"subject": "example"
}
],
"issuance": {},
"platforms": [
{
"example": "example"
}
],
"reminder_days": {},
"revocation_reasons": {},
"unregistered_digests": [
{
"example": "example"
}
]
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/certificates"Renders install steps for one platform
GET /admin/v1/certificates/{digest}/guide
Renders install steps for one platform.
Needs the permission: config:history.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
digest | path | string | required | - |
bundle | query | string | optional | - |
platform | query | string | optional | - |
Response 200
{}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/certificates/example-digest/guide"Stops accepting a certificate now (normally the old one after a rotation, once the sender uses the new one)
POST /admin/v1/certificates/{digest}/retire
Stops accepting a certificate now (normally the old one after a rotation, once the sender uses the new one). The sender's only certificate cannot be retired: issue a replacement, or revoke it.
Needs the permission: senders:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
digest | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
reason | string | optional | - |
revocation_reason | string | optional | - |
{
"reason": "Example text",
"revocation_reason": "Example text"
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
sender_id | string | optional | - |
sha256 | string | optional | - |
status | any | optional | - |
{
"sender_id": "example-id",
"sha256": "example",
"status": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"reason":"Example text","revocation_reason":"Example text"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/certificates/example-digest/retire"Removes the digest from its sender at once (the broker refuses it from the next message, even on an open connection), then revokes it at the CA when Velacent...
POST /admin/v1/certificates/{digest}/revoke
Removes the digest from its sender at once (the broker refuses it from the next message, even on an open connection), then revokes it at the CA when Velacent Bridge issued it. If the CA call fails the certificate is already refused; retrying completes it.
Needs the permission: senders:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
digest | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
reason | string | optional | - |
revocation_reason | string | optional | - |
{
"reason": "Example text",
"revocation_reason": "Example text"
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
ca_revoked | any | optional | - |
sender_id | string | optional | - |
sha256 | string | optional | - |
status | any | optional | - |
{
"ca_revoked": {},
"sender_id": "example-id",
"sha256": "example",
"status": {}
}Other responses
401Authentication required403Not permitted404Not Found502Bad Gateway503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"reason":"Example text","revocation_reason":"Example text"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/certificates/example-digest/revoke"Signs a CSR made where the key lives (the browser, with WebCrypto, or the sender's own system)
POST /admin/v1/senders/{id}/certificates/csr
Signs a CSR made where the key lives (the browser, with WebCrypto, or the sender's own system). Recommended: the private key never reaches Velacent Bridge.
Needs the permission: senders:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
cert_pem | string | optional | - |
csr_pem | string | optional | - |
key_type | string | optional | - |
lifetime_days | integer | optional | - |
overlap_days | integer | optional | - |
platform | string | optional | Platform is the sending system chosen in the console (install guide and one-click renewal reuse it). |
reason | string | optional | - |
rotate | boolean | optional | Rotate makes the new certificate current and keeps the current one accepted for OverlapDays (then it is retired). Without it the new certificate is added beside the current one (first certificate, or a second system). |
{
"cert_pem": "example",
"csr_pem": "example",
"key_type": "example",
"lifetime_days": 1,
"overlap_days": 1,
"platform": "example",
"reason": "Example text",
"rotate": true
}Response 200
{}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"cert_pem":"example","csr_pem":"example","key_type":"example","lifetime_days":1,"overlap_days":1,"platform":"example","reason":"Example text","rotate":true}' \
"https://YOUR-CONSOLE-HOST/admin/v1/senders/example-id/certificates/csr"Registers an externally issued certificate by its digest (the chain must still verify against the broker's client CA bundle)
POST /admin/v1/senders/{id}/certificates/import
Registers an externally issued certificate by its digest (the chain must still verify against the broker's client CA bundle).
Needs the permission: senders:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
cert_pem | string | optional | - |
csr_pem | string | optional | - |
key_type | string | optional | - |
lifetime_days | integer | optional | - |
overlap_days | integer | optional | - |
platform | string | optional | Platform is the sending system chosen in the console (install guide and one-click renewal reuse it). |
reason | string | optional | - |
rotate | boolean | optional | Rotate makes the new certificate current and keeps the current one accepted for OverlapDays (then it is retired). Without it the new certificate is added beside the current one (first certificate, or a second system). |
{
"cert_pem": "example",
"csr_pem": "example",
"key_type": "example",
"lifetime_days": 1,
"overlap_days": 1,
"platform": "example",
"reason": "Example text",
"rotate": true
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
not_after | any | optional | - |
sha256 | string | optional | - |
{
"not_after": {},
"sha256": "example"
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"cert_pem":"example","csr_pem":"example","key_type":"example","lifetime_days":1,"overlap_days":1,"platform":"example","reason":"Example text","rotate":true}' \
"https://YOUR-CONSOLE-HOST/admin/v1/senders/example-id/certificates/import"Generates the key on the server, has the CA sign it and returns a PKCS#12 bundle with a one-time password, once
POST /admin/v1/senders/{id}/certificates/pkcs12
Generates the key on the server, has the CA sign it and returns a PKCS#12 bundle with a one-time password, once. Neither the key nor the bundle nor the password is stored or logged; a lost bundle means issuing a new certificate.
Needs the permission: senders:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
cert_pem | string | optional | - |
csr_pem | string | optional | - |
key_type | string | optional | - |
lifetime_days | integer | optional | - |
overlap_days | integer | optional | - |
platform | string | optional | Platform is the sending system chosen in the console (install guide and one-click renewal reuse it). |
reason | string | optional | - |
rotate | boolean | optional | Rotate makes the new certificate current and keeps the current one accepted for OverlapDays (then it is retired). Without it the new certificate is added beside the current one (first certificate, or a second system). |
{
"cert_pem": "example",
"csr_pem": "example",
"key_type": "example",
"lifetime_days": 1,
"overlap_days": 1,
"platform": "example",
"reason": "Example text",
"rotate": true
}Response 200
{}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"cert_pem":"example","csr_pem":"example","key_type":"example","lifetime_days":1,"overlap_days":1,"platform":"example","reason":"Example text","rotate":true}' \
"https://YOUR-CONSOLE-HOST/admin/v1/senders/example-id/certificates/pkcs12"Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.