Retrieving Created or Updated Program Memberships

The POST /v2/program-memberships/bulk-search endpoint offers a way to reconcile which program memberships were created at and/or updated at within a given time frame.

Request Parameters

  • filter- a Hash consisting of

    • created- a Hash consisting of

      • start- Epoch timestamp (must be before end)

      • end- Epoch timestamp

    • updated- a Hash consisting of

      • start- Epoch timestamp (must be before end)

      • end-Epoch timestamp

  • page_size- the number of records to return at a time (max 1000)

  • page- the current page

Response Structure

  • memberships- an array of Members (outlined below)

    • id- the Id of the program membership

    • phone- phone number

    • external_user_id- external id

    • magic_link- a magic link to authorize the user, if available

    • created_at- when the record was created, as an Epoch timestamp

    • updated_at- when the record was last updated, as an Epoch timestamp

  • total_records- the total number of records present

Sample Request

Sample Response

Last updated