validate_retroactive_achievement
Convert an unverified achievement into an official retroactive certificate by validating issuer ownership of event and badge, preserving the original conquest date for lead conversion.
Instructions
Issue an official retroactive certificate (Post) from a user-submitted unverified Achievement. The caller MUST be an admin of the Company that owns the provided event_id and badge_id — thatsme rejects cross-issuer attempts. The original conquest date is preserved on the certificate. Used for the Hugo Furtado lead-conversion flow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional override for the certificate's `reason` field. Defaults to the Achievement's title. | |
| badge_id | Yes | Badge of that Event used for the retroactive certificate. | |
| event_id | Yes | Event owned by the issuer Company that the Achievement maps to (typically a "Backlog Validation" event). | |
| expires_at | No | Optional ISO-8601 expiration date. | |
| achievement_id | Yes | thatsme Achievement ID requesting verification. Find these via the admin issuer-leads list. |