mTLS authentication
Client and server both present X.509 certificates during the TLS handshake, which removes shared secrets.
For machine-to-machine access, CrmLeaf offers a public API authenticated with mutual TLS. The calling system proves its identity with a client certificate during the TLS handshake, rather than sending a bearer token that could be copied.
Client presents certificate
CN=partner-erp.example.com
CrmLeaf verifies the client
Certificate valid
Server presents certificate
Verified by the client
$ curl --cert partner.crt --key partner.key \
https://partner-api.example.com/…
HTTP/2 200 · mutual TLS established
Auth
Client certificate
Bearer token
Not required
How a Public API call works
Presents its client certificate
Both sides verify each other's certificates
Cryptographic, not token-based
Only after the handshake succeeds
What the Public API provides
Client and server both present X.509 certificates during the TLS handshake, which removes shared secrets.
Each partner system is identified by its own certificate, not by a token that could be forwarded or copied.
Built for automated server-to-server flows such as ERP sync, partner data feeds and billing platform integration.
Personal access tokens are for the REST API and AI assistants. The Public API identifies the calling system by its certificate instead.
The Public API is a platform add-on module, enabled per account. Confirm plan inclusion before you build on it.
Certificate setup for a partner integration is arranged with the CrmLeaf team, so talk to us before you start.
In detail
CrmLeaf offers two API surfaces with different credentials. The REST API uses personal access tokens - a token acts as the user who issued it, with that user's permissions - and suits first-party integrations, scripts and AI assistants. The Public API uses mTLS certificates and suits machine-to-machine integrations where the calling system itself must be identified. Both are add-on modules and can run side by side.
Built in
Book a call to confirm the Public API fits your system and arrange certificate setup with our team.