A CoworkerBookingCreditUseHistory records each time a CoworkerBookingCredit was consumed. Each entry captures the amount of credit deducted and links back to the booking, event attendance, or invoice line that triggered the use.
Use the read-only denormalised fields (BookingFromTime, BookingResourceName, EventAttendeeCalendarEventName, etc.) to inspect what the credit was spent on without needing to fetch the related records separately.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header.
The authenticated user must be a full unrestricted administrator or have the CoworkerBookingCreditUseHistory-Read role.
Path Parameters
The Id of the CoworkerBookingCreditUseHistory record to retrieve.
Code Examples
curl -X GET \
"https://spaces.nexudus.com/api/billing/coworkerbookingcreditusehistories/87654321" \
-H "Authorization: Bearer YOUR_TOKEN"
Response
200
Optional description or note for this credit use entry.
ID of the booking credit that was consumed.
ID of the booking this credit was applied to, if the credit was used for a booking.
Start time of the booking.
Name of the resource that was booked.
ID of the invoice line this credit was applied to, if the credit was used against an invoice.
CoworkerInvoiceLineCoworkerInvoiceId
ID of the invoice containing the linked invoice line.
CoworkerInvoiceLineCoworkerInvoiceInvoiceNumber
Invoice number of the invoice containing the linked invoice line.
ID of the event attendance record this credit was applied to, if the credit was used for an event.
EventAttendeeCalendarEventName
Name of the calendar event the credit was used for.
EventAttendeeEventProductName
Name of the event ticket product purchased by the attendee.
Full name of the event attendee.
Email address of the event attendee.
Amount of credit consumed by this entry.
Unique record identifier.
Date and time the record was created (ISO 8601).
Date and time the record was last updated (ISO 8601).
Email of the user who last updated this record.
Whether the record was recently created.
External system identifier.
{
"Description": null,
"CoworkerBookingCreditId": 0,
"BookingId": null,
"BookingFromTime": null,
"BookingToTime": null,
"BookingResourceName": null,
"CoworkerInvoiceLineId": null,
"CoworkerInvoiceLineCoworkerInvoiceId": null,
"CoworkerInvoiceLineCoworkerInvoiceInvoiceNumber": null,
"EventAttendeeId": null,
"EventAttendeeCalendarEventName": null,
"EventAttendeeEventProductName": null,
"EventAttendeeFullName": null,
"EventAttendeeEmail": null,
"CreditUsed": 0,
"Id": 87654321,
"UpdatedOn": "2025-01-15T10:30:00Z",
"CreatedOn": "2025-01-10T08:00:00Z",
"UniqueId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"UpdatedBy": "admin@example.com",
"IsNew": false,
"SystemId": null,
"ToStringText": "CoworkerBookingCreditUseHistory Example",
"LocalizationDetails": null,
"CustomFields": null
}