API referenceMembership

Membership

2 operations. Every schema and example on this page is generated from the platform contract.

Mark the gym welcome moment as seen by this member.

Request body

store_idstring · uuidrequired

The gym whose welcome the member has just seen.

Response, 200

successbooleanrequired
acknowledgedbooleanrequired

True when a pending welcome was marked delivered. False is NOT an error, it means there was nothing owed (already seen, already texted by the gym, or never queued), which is exactly what a retried ack should report.

curl -X POST "https://www.membber.com/api/v1/membership/welcome/ack" \
  -H "Authorization: Bearer $MEMBBER_TOKEN" \
  -H "Idempotency-Key: 1f0e2d3c-4b5a-4678-9abc-def012345678" \
  -H "Content-Type: application/json" \
  -d '{
    "store_id": "6659c139-0000-4000-8000-d0c500000066"
  }'
Response, 200
{
  "success": true,
  "acknowledged": true
}

Record that the gym sent a member their welcome as a text.

Request body

store_idstring · uuidrequired

The gym (also authorises the merchant).

customer_idstring · uuidrequired

The member who was texted.

Response, 200

successbooleanrequired
recordedbooleanrequired

True when a pending welcome was marked texted. False is NOT an error, it means nothing was owed (already seen in-app, or already texted).

curl -X POST "https://www.membber.com/api/v1/membership/welcome/texted" \
  -H "Authorization: Bearer $MEMBBER_TOKEN" \
  -H "Idempotency-Key: 1f0e2d3c-4b5a-4678-9abc-def012345678" \
  -H "Content-Type: application/json" \
  -d '{
    "store_id": "6659c139-0000-4000-8000-d0c500000066",
    "customer_id": "96607d1c-0000-4000-8000-d0c500000096"
  }'
Response, 200
{
  "success": true,
  "recorded": true
}
WhatsApp
Book a Call
Start Free