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": "74920d02-a397-498c-8299-ba2c1685cf26",
  "created_at": "2024-10-16T11:10:12+01:00",
  "expires_at": "2025-10-16T11:10:12+01:00",
  "updated_at": "2024-10-16T11:10:12+01:00",
  "certificate_email": "example@example.com",
  "certificate_serial_number": "132777832123178720399127681141946521234"
}