Create an mTLS configuration
Stores a certificate signed against the CSR from GET /v1/webhooks_settings/mtls_csr and returns its id, which is then set on a webhook as webhookMtlsId. The private key the certificate was issued for is derived from the certificate, so it is never named by the caller.
Re-uploading a certificate already stored returns the existing id rather than creating a second configuration, so several webhooks can share one certificate.
A certificate that was not issued for a private key this workspace holds is rejected with a 400.
Endpoint Permissions: Owner, Admin, Non-Signing Admin.
Headers
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Body
Signed client certificate PEM, issued for the CSR from GET /v1/webhooks_settings/mtls_csr. The private key it belongs to is derived from the certificate itself.
"-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----"
A label for this mTLS configuration, to tell several certificates apart. Letters, digits and spaces only.
255^[a-zA-Z0-9 ]*$"Production gateway 2026"
Response
The stored mTLS configuration
A signed client certificate stored for the workspace, and the id a webhook references to use it. Several webhooks may share one configuration, so replacing the certificate here switches all of them at once.
The unique identifier of the mTLS configuration, to be set on a webhook.
"44fcead0-7053-4831-a53a-df7fb90d440f"
The signed client certificate PEM.
"-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----"
When the certificate itself expires, in milliseconds since the epoch.
1726108200000
When the certificate was uploaded, in milliseconds since the epoch.
1694572200000
When this configuration was last changed, in milliseconds since the epoch. Differs from createdAt once the certificate has been replaced or the configuration renamed.
1726108200000
The label given to this mTLS configuration.
"Production gateway 2026"