Store the Unipass certificate

POST /api/v1/unipass/certificate

Store the Unipass certificate on the currently authenticated user.

Headers

multipart/form-data

Body Required

Responses

POST /api/v1/unipass/certificate
curl \
 -X POST https://api.plannrcrm.com/api/v1/unipass/certificate \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: multipart/form-data" \
 -H "Accept: application/json" \
 -H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 -F "certificate_email=example@example.com" \
 -F "certificate=<file>"
Response examples (201)
{
  "uuid": "5e7cee7c-8d85-47c0-bb15-5abeaf57c662",
  "created_at": "2024-11-20T13:23:59+00:00",
  "expires_at": "2025-11-20T13:23:59+00:00",
  "updated_at": "2024-11-20T13:23:59+00:00",
  "certificate_email": "example@example.com",
  "certificate_serial_number": "132777832123178720399127681141946521234"
}