Momence

App · 18 actions

Read studio members, memberships, class sessions, and bookings.

Actions

ActionWhat it does
Get logged in userGet logged in user.
Get memberGet member.
Get sessionGet session.
List appointment reservationsList appointment reservations.
List customer lead sourcesList customer lead sources.
List customer lead stagesList customer lead stages.
List customer leadsList customer leads.
List member active membershipsList member active memberships.
List member appointmentsList member appointments.
List member bookingsList member bookings.
List member notesList member notes.
List membersList members.
List membershipsList memberships.
List salesList sales.
List semestersList semesters.
List session bookingsList session bookings.
List sessionsList sessions.
List tagsList tags.

Get logged in user

Get logged in user.

Inputs

None.

Outputs

dataobject
The response from Momence.
Example output
{
  "data": {
    "email": "example",
    "firstName": "example",
    "lastName": "example",
    "memberId": 1,
    "userId": 1
  }
}

Get member

Get member.

Inputs

Member IDmember_idnumberRequired
Member ID.

Outputs

dataobject
The response from Momence.
Example output
{
  "data": {
    "customerFields": [
      {
        "id": 1,
        "label": "example",
        "type": "text",
        "value": "example"
      }
    ],
    "customerTags": [
      {
        "badgeColor": "example",
        "badgeLabel": "example",
        "corporateTagId": 1,
        "id": 1,
        "isCustomerBadge": true,
        "name": "example"
      }
    ],
    "email": "example",
    "firstName": "example",
    "firstSeen": "example",
    "id": 1,
    "lastName": "example",
    "lastSeen": "example",
    "phoneNumber": "example",
    "pictureUrl": "example",
    "visits": {
      "appointments": 1,
      "appointmentsVisits": 1,
      "bookings": 1,
      "bookingsVisits": 1,
      "openAreaVisits": 1,
      "total": 1,
      "totalVisits": 1
    }
  }
}

Get session

Get session.

Inputs

Sessionsession_idnumberRequired
Session ID.

Outputs

dataobject
The response from Momence.
Example output
{
  "data": {
    "additionalTeachers": [
      {
        "email": "example",
        "firstName": "example",
        "id": 1,
        "lastName": "example",
        "pictureUrl": "example"
      }
    ],
    "bookingCount": 1,
    "capacity": 1,
    "endsAt": "example",
    "id": 1,
    "inPersonLocation": {
      "id": 1,
      "name": "example"
    },
    "isCancelled": true,
    "isDraft": true,
    "isInPerson": true,
    "isRecurring": true,
    "name": "example",
    "onlineStreamPassword": "example",
    "onlineStreamUrl": "example",
    "originalTeacher": {
      "email": "example",
      "firstName": "example",
      "id": 1,
      "lastName": "example",
      "pictureUrl": "example"
    },
    "semesterId": 1,
    "startsAt": "example",
    "tags": [
      {
        "badgeColor": "example",
        "badgeLabel": "example",
        "id": 1,
        "isCustomerBadge": true,
        "name": "example"
      }
    ],
    "teacher": {
      "email": "example",
      "firstName": "example",
      "id": 1,
      "lastName": "example",
      "pictureUrl": "example"
    },
    "waitlistBookingCount": 1,
    "waitlistCapacity": 1,
    "zoomLink": "example",
    "zoomMeetingId": "example",
    "zoomMeetingPassword": "example"
  }
}

List appointment reservations

List appointment reservations.

Inputs

Pagepagenumber
Starts at 0At least 0.
Page sizepage_sizenumber
Page size.From 1 to 200.
Sort ordersort_ordertext
Sort order.One of: ASC, DESC.
Sort bysort_bytext
Field to sort byOne of: startsAt.
Start afterstart_afterdate and time
Start after.
Start beforestart_beforedate and time
Start before.
End afterend_afterdate and time
End after.
End beforeend_beforedate and time
End before.
Include cancelledinclude_cancelledtrue/false
Include cancelled.
Include cancelled attendeesinclude_cancelled_attendeestrue/false
Include cancelled attendees.
Is paidis_paidtrue/false
Is paid.

Outputs

dataobject
The response from Momence.
Example output
{
  "data": {
    "pagination": {
      "page": 1,
      "pageSize": 1,
      "sortBy": "example",
      "sortOrder": "ASC",
      "totalCount": 1
    },
    "payload": [
      {
        "additionalTeacher": {},
        "appointmentAttendees": [
          {}
        ],
        "board": {
          "id": 1,
          "name": "example"
        },
        "cancelledAt": "example",
        "capacity": 1,
        "createdAt": "example",
        "currency": "example",
        "depositInCurrency": "example",
        "durationInMinutes": 1,
        "endsAt": "example",
        "id": 1,
        "inPersonLocation": {},
        "isDepositPaid": true,
        "isInPerson": true,
        "isPaid": true,
        "onlineStreamPassword": "example",
        "onlineStreamUrl": "example",
        "priceInCurrency": 1,
        "service": {
          "id": 1,
          "name": "example"
        },
        "serviceVariant": {},
        "startsAt": "example",
        "teacher": {}
      }
    ]
  }
}

List customer lead sources

List customer lead sources.

Inputs

Pagepagenumber
Starts at 0At least 0.
Page sizepage_sizenumber
Page size.From 1 to 100.
Sort ordersort_ordertext
Sort order.One of: ASC, DESC.
Sort bysort_bytext
Field to sort byOne of: name.
Queryquerytext
Search lead sources by name

Outputs

dataobject
The response from Momence.
Example output
{
  "data": {
    "pagination": {
      "page": 1,
      "pageSize": 1,
      "sortBy": "example",
      "sortOrder": "ASC",
      "totalCount": 1
    },
    "payload": [
      {
        "id": 1,
        "name": "example"
      }
    ]
  }
}

List customer lead stages

List customer lead stages.

Inputs

Pagepagenumber
Starts at 0At least 0.
Page sizepage_sizenumber
Page size.From 1 to 100.
Sort ordersort_ordertext
Sort order.One of: ASC, DESC.
Sort bysort_bytext
Field to sort byOne of: name, order.
Queryquerytext
Search lead stages by name

Outputs

dataobject
The response from Momence.
Example output
{
  "data": {
    "pagination": {
      "page": 1,
      "pageSize": 1,
      "sortBy": "example",
      "sortOrder": "ASC",
      "totalCount": 1
    },
    "payload": [
      {
        "id": 1,
        "name": "example"
      }
    ]
  }
}

List customer leads

List customer leads.

Inputs

Pagepagenumber
Starts at 0At least 0.
Page sizepage_sizenumber
Page size.From 1 to 100.
Sort ordersort_ordertext
Sort order.One of: ASC, DESC.
Sort bysort_bytext
Field to sort byOne of: createdAt.
Queryquerytext
Search leads by first name, last name, email or phone number
Sourcesource_idnumber
Only leads from this lead source
Stagestage_idnumber
Only leads in this lead stage

Outputs

dataobject
The response from Momence.
Example output
{
  "data": {
    "pagination": {
      "page": 1,
      "pageSize": 1,
      "sortBy": "example",
      "sortOrder": "ASC",
      "totalCount": 1
    },
    "payload": [
      {
        "createdAt": "example",
        "email": "example",
        "firstName": "example",
        "id": 1,
        "lastName": "example",
        "memberId": 1,
        "phoneNumber": "example",
        "sourceId": 1,
        "stageId": 1
      }
    ]
  }
}

List member active memberships

List member active memberships.

Inputs

Member IDmember_idnumberRequired
Member ID.
Pagepagenumber
Starts at 0At least 0.
Page sizepage_sizenumber
Page size.From 1 to 200.
Include frozeninclude_frozentrue/false
Include frozen.

Outputs

dataobject
The response from Momence.
Example output
{
  "data": {
    "pagination": {
      "page": 1,
      "pageSize": 1,
      "sortBy": "example",
      "sortOrder": "ASC",
      "totalCount": 1
    },
    "payload": [
      {
        "combinedUsage": 1,
        "combinedUsageLimit": 1,
        "declinedRenewal": {},
        "endDate": "example",
        "eventCreditsLeft": 1,
        "eventCreditsTotal": 1,
        "freeze": {},
        "id": 1,
        "isFrozen": true,
        "membership": {},
        "moneyCreditsLeft": 1,
        "moneyCreditsTotal": 1,
        "startDate": "example",
        "type": "subscription",
        "usageLimitEndDate": "example",
        "usageLimitForAppointments": 1,
        "usageLimitForSessions": 1,
        "usageLimitStartDate": "example",
        "usedAppointments": 1,
        "usedSessions": 1
      }
    ]
  }
}

List member appointments

List member appointments.

Inputs

Member IDmember_idnumberRequired
Member ID.
Pagepagenumber
Starts at 0At least 0.
Page sizepage_sizenumber
Page size.From 1 to 200.
Sort ordersort_ordertext
Sort order.One of: ASC, DESC.
Sort bysort_bytext
Field to sort byOne of: startsAt.
Start afterstart_afterdate and time
Start after.
Start beforestart_beforedate and time
Start before.
End afterend_afterdate and time
End after.
End beforeend_beforedate and time
End before.
Include cancelledinclude_cancelledtrue/false
Include cancelled.

Outputs

dataobject
The response from Momence.
Example output
{
  "data": {
    "pagination": {
      "page": 1,
      "pageSize": 1,
      "sortBy": "example",
      "sortOrder": "ASC",
      "totalCount": 1
    },
    "payload": [
      {
        "additionalTeacher": {},
        "board": {
          "id": 1,
          "name": "example"
        },
        "cancelledAt": "example",
        "capacity": 1,
        "createdAt": "example",
        "currency": "example",
        "depositInCurrency": "example",
        "durationInMinutes": 1,
        "endsAt": "example",
        "id": 1,
        "inPersonLocation": {},
        "isDepositPaid": true,
        "isInPerson": true,
        "isPaid": true,
        "member": {
          "attendanceStatus": "checkedIn",
          "bookedAt": "example",
          "cancelledAt": "example",
          "checkedInAt": "example",
          "firstName": "example",
          "id": 1,
          "isDepositPaid": true,
          "isLateCancelled": true,
          "isPaid": true,
          "lastName": "example"
        },
        "onlineStreamPassword": "example",
        "onlineStreamUrl": "example",
        "priceInCurrency": 1,
        "service": {
          "id": 1,
          "name": "example"
        },
        "serviceVariant": {},
        "startsAt": "example",
        "teacher": {}
      }
    ]
  }
}

List member bookings

List member bookings.

Inputs

Member IDmember_idnumberRequired
Member ID.
Pagepagenumber
Starts at 0At least 0.
Page sizepage_sizenumber
Page size.From 1 to 100.
Sort ordersort_ordertext
Sort order.One of: ASC, DESC.
Sort bysort_bytext
Field to sort byOne of: startsAt.
Start afterstart_afterdate and time
Start after.
Start beforestart_beforedate and time
Start before.
End afterend_afterdate and time
End after.
End beforeend_beforedate and time
End before.
Include cancelledinclude_cancelledtrue/false
Include cancelled.

Outputs

dataobject
The response from Momence.
Example output
{
  "data": {
    "pagination": {
      "page": 1,
      "pageSize": 1,
      "sortBy": "example",
      "sortOrder": "ASC",
      "totalCount": 1
    },
    "payload": [
      {
        "cancelledAt": "example",
        "checkedIn": true,
        "createdAt": "example",
        "id": 1,
        "roomSpotId": 1,
        "session": {
          "bannerImageUrl": "example",
          "capacity": 1,
          "description": "example",
          "durationInMinutes": 1,
          "endsAt": "example",
          "hostPhotoUrl": "example",
          "id": 1,
          "inPersonLocation": {},
          "isInPerson": true,
          "isLocationPrivate": true,
          "isRecurring": true,
          "name": "example",
          "onlineStreamPassword": "example",
          "onlineStreamUrl": "example",
          "startsAt": "example",
          "teacher": {},
          "type": "private"
        }
      }
    ]
  }
}

List member notes

List member notes.

Inputs

Pagepagenumber
Starts at 0At least 0.
Page sizepage_sizenumber
Page size.From 1 to 100.
Sort ordersort_ordertext
Sort order.One of: ASC, DESC.
Sort bysort_bytext
Field to sort byOne of: createdAt, modifiedAt.
Member IDmember_idnumberRequired
Member ID.

Outputs

dataobject
The response from Momence.
Example output
{
  "data": {
    "pagination": {
      "page": 1,
      "pageSize": 1,
      "sortBy": "example",
      "sortOrder": "ASC",
      "totalCount": 1
    },
    "payload": [
      {
        "appointmentReservationId": 1,
        "boughtMembershipId": 1,
        "createdAt": "example",
        "customerNoteTemplateId": 1,
        "id": 1,
        "imageLink": "example",
        "lockedAt": "example",
        "lockedByUserId": 1,
        "modifiedAt": "example",
        "note": "example",
        "paymentTransactionId": 1,
        "productOrderId": 1,
        "sessionBookingId": 1,
        "type": "regular"
      }
    ]
  }
}

List members

List members.

Inputs

Pagepagenumber
Starts at 0At least 0.
Page sizepage_sizenumber
Page size.From 1 to 100.
Sort ordersort_ordertext
Sort order.One of: ASC, DESC.
Sort bysort_bytext
Field to sort byOne of: lastSeenAt, firstSeenAt, firstName, lastName, email.
Queryquerytext
Search customers by query
Filter presetfilter_presettext
Filter preset.One of: with-active-membership.
Static segment IDstatic_segment_idnumber
Filter customers by static segment ID

Outputs

dataobject
The response from Momence.
Example output
{
  "data": {
    "pagination": {
      "page": 1,
      "pageSize": 1,
      "sortBy": "example",
      "sortOrder": "ASC",
      "totalCount": 1
    },
    "payload": [
      {
        "customerFields": [
          {}
        ],
        "customerTags": [
          {}
        ],
        "email": "example",
        "firstName": "example",
        "firstSeen": "example",
        "id": 1,
        "lastName": "example",
        "lastSeen": "example",
        "phoneNumber": "example",
        "pictureUrl": "example",
        "visits": {
          "appointments": 1,
          "appointmentsVisits": 1,
          "bookings": 1,
          "bookingsVisits": 1,
          "openAreaVisits": 1,
          "total": 1,
          "totalVisits": 1
        }
      }
    ]
  }
}

List memberships

List memberships.

Inputs

Pagepagenumber
Starts at 0At least 0.
Page sizepage_sizenumber
Page size.From 1 to 200.
Sort ordersort_ordertext
Sort order.One of: ASC, DESC.
Sort bysort_bytext
Field to sort byOne of: name, orderNumber.
Include disabledinclude_disabledtrue/false
Include disabled.
Only featuredonly_featuredtrue/false
Only featured.
Compatible with session IDcompatible_with_session_idnumber
Compatible with session ID.
Compatible with appointment IDcompatible_with_appointment_idnumber
Compatible with appointment ID.

Outputs

dataobject
The response from Momence.
Example output
{
  "data": {
    "pagination": {
      "page": 1,
      "pageSize": 1,
      "sortBy": "example",
      "sortOrder": "ASC",
      "totalCount": 1
    },
    "payload": [
      {
        "activationDeadlineInDays": 1,
        "autoRenewing": true,
        "combinedUsageLimit": 1,
        "combinedUsageLimitEnabled": true,
        "contractAgreement": "example",
        "description": "example",
        "disabled": true,
        "duration": 1,
        "durationUnit": "days",
        "endDate": "example",
        "eventCredits": 1,
        "featured": true,
        "freeTrialDurationInDays": 1,
        "freeTrialPrice": 1,
        "hasFreeTrial": true,
        "id": 1,
        "isActivatedOnFirstUse": true,
        "isIntroOffer": true,
        "locationId": 1,
        "maximumPrice": 1,
        "minimumAutoRenews": 1,
        "minimumPrice": 1,
        "moneyCredits": 1,
        "name": "example",
        "order": 1,
        "price": 1,
        "priceIncludesTax": true,
        "priceType": "fixed-price",
        "recommendedPrice": 1,
        "startDate": "example",
        "tags": [
          {}
        ],
        "taxRateInPercent": 1,
        "type": "subscription",
        "usageLimitForAppointments": 1,
        "usageLimitForSessions": 1,
        "usageLimitRenewalDuration": 1,
        "usageLimitRenewalDurationUnit": "days",
        "usageLimitRenewalEnabled": true,
        "usageLimitRolloverEnabled": true,
        "usageLimitRolloverExpirationDuration": 1,
        "usageLimitRolloverExpirationDurationUnit": "days",
        "usageLimitRolloverMode": "next-renewal"
      }
    ]
  }
}

List sales

List sales.

Inputs

Pagepagenumber
Starts at 0At least 0.
Page sizepage_sizenumber
Page size.At least 1.
Sort ordersort_ordertext
Sort order.One of: ASC, DESC.
Sort bysort_bytext
Field to sort by

Outputs

dataobject
The response from Momence.
Example output
{
  "data": {
    "pagination": {
      "page": 1,
      "pageSize": 1,
      "sortBy": "example",
      "sortOrder": "ASC",
      "totalCount": 1
    },
    "payload": [
      {
        "id": 1,
        "items": [
          {}
        ],
        "paymentTransaction": {
          "items": [
            {}
          ]
        },
        "saleDate": "example"
      }
    ]
  }
}

List semesters

List semesters.

Inputs

Pagepagenumber
Starts at 0At least 0.
Page sizepage_sizenumber
Page size.From 1 to 200.
Sort ordersort_ordertext
Sort order.One of: ASC, DESC.
Sort bysort_bytext
Field to sort byOne of: startsAt, endsAt, name.
Active fromactive_fromdate and time
only return semesters that are still running on or after this date
Active toactive_todate and time
only return semesters that have started on or before this date
Include cancelledinclude_cancelledtrue/false
also include cancelled semesters
Include draftsinclude_draftstrue/false
also include unpublished (draft) semesters

Outputs

dataobject
The response from Momence.
Example output
{
  "data": {
    "pagination": {
      "page": 1,
      "pageSize": 1,
      "sortBy": "example",
      "sortOrder": "ASC",
      "totalCount": 1
    },
    "payload": [
      {
        "endsAt": "example",
        "id": 1,
        "isCancelled": true,
        "isDraft": true,
        "name": "example",
        "startsAt": "example"
      }
    ]
  }
}

List session bookings

List session bookings.

Inputs

Pagepagenumber
Starts at 0At least 0.
Page sizepage_sizenumber
Page size.From 1 to 100.
Sort ordersort_ordertext
Sort order.One of: ASC, DESC.
Sort bysort_bytext
Field to sort byOne of: createdAt, firstName, lastName.
Include cancelledinclude_cancelledtrue/false
also include cancelled bookings
Sessionsession_idnumberRequired
Session ID.

Outputs

dataobject
The response from Momence.
Example output
{
  "data": {
    "pagination": {
      "page": 1,
      "pageSize": 1,
      "sortBy": "example",
      "sortOrder": "ASC",
      "totalCount": 1
    },
    "payload": [
      {
        "cancelledAt": "example",
        "checkedIn": true,
        "createdAt": "example",
        "id": 1,
        "isRecurring": true,
        "member": {
          "email": "example",
          "firstName": "example",
          "id": 1,
          "lastName": "example",
          "phoneNumber": "example",
          "pictureUrl": "example"
        },
        "recurringBookingId": 1,
        "roomSpotId": 1,
        "ticketsBought": 1
      }
    ]
  }
}

List sessions

List sessions.

Inputs

Pagepagenumber
Starts at 0At least 0.
Page sizepage_sizenumber
Page size.From 1 to 200.
Sort ordersort_ordertext
Sort order.One of: ASC, DESC.
Sort bysort_bytext
Field to sort byOne of: name, startsAt, endsAt.
Include cancelledinclude_cancelledtrue/false
also include cancelled sessions
Typestypeslist
only return specified session typesOne or more of: private, special-event, special-event-new, retreat, fitness, course, course-class, semester, recital.
Teacher IDteacher_idnumber
Teacher ID.
Location IDlocation_idnumber
Location ID.
Include child locationsinclude_child_locationstrue/false
when filtering by location, include the locations child locations
Start afterstart_afterdate and time
Start after.
Start beforestart_beforedate and time
Start before.
End afterend_afterdate and time
End after.
End beforeend_beforedate and time
End before.

Outputs

dataobject
The response from Momence.
Example output
{
  "data": {
    "pagination": {
      "page": 1,
      "pageSize": 1,
      "sortBy": "example",
      "sortOrder": "ASC",
      "totalCount": 1
    },
    "payload": [
      {
        "bannerImageUrl": "example",
        "bookingCount": 1,
        "capacity": 1,
        "description": "example",
        "durationInMinutes": 1,
        "endsAt": "example",
        "hostPhotoUrl": "example",
        "id": 1,
        "inPersonLocation": {},
        "isCancelled": true,
        "isDraft": true,
        "isInPerson": true,
        "isRecurring": true,
        "name": "example",
        "onlineStreamPassword": "example",
        "onlineStreamUrl": "example",
        "semesterId": 1,
        "startsAt": "example",
        "tags": [
          {}
        ],
        "teacher": {},
        "type": "private"
      }
    ]
  }
}

List tags

List tags.

Inputs

Pagepagenumber
Starts at 0At least 0.
Page sizepage_sizenumber
Page size.From 1 to 100.
Sort ordersort_ordertext
Sort order.One of: ASC, DESC.
Sort bysort_bytext
Field to sort byOne of: name.

Outputs

dataobject
The response from Momence.
Example output
{
  "data": {
    "pagination": {
      "page": 1,
      "pageSize": 1,
      "sortBy": "example",
      "sortOrder": "ASC",
      "totalCount": 1
    },
    "payload": [
      {
        "badgeColor": "example",
        "badgeLabel": "example",
        "corporateTagId": 1,
        "id": 1,
        "isCustomerBadge": true,
        "name": "example"
      }
    ]
  }
}

On this page