Store the Unipass certificate

POST /api/v1/unipass/certificate

Store the Unipass certificate on the currently authenticated user.

Headers

  • X-PLANNR-ACCOUNT-UUID string
application/json

Body Required

  • certificate_email string Required

    The email that was used in the certificate

  • certificate string Required

    The multipart file containing the X509 certificate

Responses

  • 201 application/json
    Hide response attributes Show response attributes object
    • uuid string

      The UUID of the resource.

    • created_at string

      The timestamp of when the resource was created.

    • updated_at string

      The timestamp of when the resource was updated.

    • expires_at string

      The expiry date of the certificate

    • certificate_email string

      The email address associated with the certificate

    • certificate_serial_number string

      The serial number of the certificate

POST /api/v1/unipass/certificate
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/unipass/certificate' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 --data '{"certificate_email":"example@example.com","certificate":"\u003cfile\u003e"}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "certificate_email": "example@example.com",
  "certificate": "<file>"
}
Response examples (201)
{
  "uuid": "d880ba4a-0896-4637-97e2-24e8bb6836bd",
  "created_at": "2025-06-26T11:37:01+01:00",
  "expires_at": "2026-06-26T11:37:01+01:00",
  "updated_at": "2025-06-26T11:37:01+01:00",
  "certificate_email": "example@example.com",
  "certificate_serial_number": "132777832123178720399127681141946521234"
}