Skip to main content
This walkthrough takes a prospective member from their first form submission to fully active member, including identity verification, document signing, and admin approval. It chains five endpoints across the Adhesion and User resources. Who is this for: integrations that surface Orgo’s adhesion flow inside a third-party site (e.g. your organization’s marketing page), or admin tools that drive members through the funnel programmatically.

What you’ll end up with

Each step is one API call. Status transitions are explicit — Orgo does not silently advance the application.

Step 1 — Create the draft adhesion

The applicant fills in their personal data. From your integration, that becomes a POST to /api/v1/adhesion/create. The application is created in NEW status, editable, and not yet visible to HR.
Response:
Note canBeSubmitted: false — that flips to true only after both documents (ID + signed) are uploaded.
If your integration lets users save and return later (multi-session form), you can PATCH /api/v1/adhesion/update/{id} repeatedly until they’re ready. Updates are only allowed while the adhesion is in NEW.

Step 2 — Upload an ID document

ID verification is mandatory. The upload triggers OCR, which extracts personal data into an Identity record attached to the application.
The OCR runs asynchronously — the response returns immediately with hasIdDocument: true, but the extracted fields appear on the Identity record a few seconds later. Polling GET /api/v1/identity/{id} will show OCR progress.
Replacing an existing ID document is supported — re-upload the same endpoint and the previous file plus its OCR data is discarded.

Step 3 — Upload the signed adhesion form

The applicant downloads the pre-filled PDF (you can render the template yourself, or hit GET /api/v1/adhesion/{id}/pdf to grab the official one), signs it, and uploads the signed version back.
After this call, the adhesion’s canBeSubmitted flag flips to true.

Step 4 — Submit for HR review

Once both documents are in place, transition the application from NEW to PENDING. This sends an email to the responsible HR admin.
A 409 Conflict here means one of the documents is missing — check hasIdDocument and hasSignedDocument on the adhesion first. After this point, the applicant cannot edit the application themselves. HR can still record interview notes via PATCH /api/v1/adhesion/{id}/interview.

Step 5 — Admin transitions to approval

HR reviews the application, optionally records interview notes, and transitions the status. Each transition has side effects.
After SUCCESS, the linked User is now ACTIVE, the membership fee is active, and they can log in.

Common gotchas

The email goes to the admin marked as responsible HR for the applicant’s local center — not to a blanket inbox. Check Settings → Users → Permissions that at least one admin has HR_LOCAL on the local center the applicant chose. If none, no email is sent (and 409 is returned by send).
The OCR fills the Identity record, not the Adhesion itself. The applicant’s submitted form fields stay as-is; HR sees both side by side in the admin UI. You can correct via PATCH /api/v1/identity/{id}/update-data.
No. For minors, use the family-member flow: POST /api/v1/register-child against a parent’s authenticated session. This skips ID upload and parental adhesion entirely; the child inherits parent membership.
HR with HR_TENANT permission can create the User directly: POST /api/v1/users followed by POST /api/v1/user_roles to assign MEMBER. Skip the adhesion altogether. The cost is no audit trail of the application.

What to do next