Store the Unipass certificate
Store the Unipass certificate on the currently authenticated user.
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
Body Required
-
The email that was used in the certificate
-
The multipart file containing the X509 certificate
POST
/api/v1/unipass/certificate
curl \
--request POST https://api.plannrcrm.com/api/v1/unipass/certificate \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--form "certificate_email=example@example.com" \
--form "certificate=<file>"
Response examples (201)
{
"uuid": "9ffefd7a-407b-4f36-8b2d-812495a59237",
"created_at": "2025-02-20T10:13:00+00:00",
"expires_at": "2026-02-20T10:13:00+00:00",
"updated_at": "2025-02-20T10:13:00+00:00",
"certificate_email": "example@example.com",
"certificate_serial_number": "132777832123178720399127681141946521234"
}