OBAPI OBAPI

Members

Association and cooperative members.

Endpoints

  • GET /obapi/v1/members -- list
  • GET /obapi/v1/members/{id} -- single

Parameters

page, per_page, status, type, sort

Status values

Value Description
draft Draft / pending validation
validated Active member
excluded Excluded
resigned Resigned

Response (list)

{
    "items": [
        {
            "id": "120",
            "ref": "ADH-0120",
            "type": "Individual",
            "lastname": "Martin",
            "firstname": "Sophie",
            "company": "",
            "email": "sophie.martin@example.com",
            "date_subscription_end": "2025-12-31",
            "status": "validated"
        }
    ],
    "pagination": { "..." }
}

Response (single)

{
    "member": {
        "id": "120",
        "ref": "ADH-0120",
        "type": "Individual",
        "civility": "Mme",
        "lastname": "Martin",
        "firstname": "Sophie",
        "company": "",
        "address": "45 avenue des Fleurs",
        "zip": "75015",
        "city": "Paris",
        "state": "",
        "country": "FR",
        "phone": "+33 6 12 34 56 78",
        "email": "sophie.martin@example.com",
        "date_birth": "1985-03-15",
        "date_subscription_start": "2024-01-01",
        "date_subscription_end": "2025-12-31",
        "subscription_amount": "50.00",
        "status": "validated",
        "public_note": ""
    }
}

Notes

  • type refers to the membership type (e.g. "Individual", "Corporate", "Student").
  • country uses ISO 3166-1 alpha-2 format.