Svix

Spacebring Webhook Event Types

This is the list of event types that we currently send.
For guidance on how to listen to these events, take a look at Svix's guide to consuming webhooks.

benefit.application.created

Example
JSON
{
  "application": {
    "benefit": {
      "id": "8fe3d6fd-0661-450a-af15-2f9ba78408db",
      "title": "some string"
    },
    "comment": "some string",
    "createDate": "2025-03-18T13:27:42.169Z",
    "id": "296f4d5d-bb09-4605-ab0a-48559c120cc2",
    "locationRef": "a864d2ee-f62f-4d0f-8080-fd67b7e468df",
    "membershipRef": "b1de68f4-a8c2-4468-90c0-91eaad19a197",
    "number": "some string",
    "user": {
      "about": "some string",
      "email": "some string",
      "id": "aa909a72-2eac-4e25-8340-5493ad815555",
      "name": "some string",
      "phoneNumber": "some string",
      "photoUrl": "url",
      "surname": "some string"
    }
  },
  "type": "some string"
}

booking.approvedDeprecated

Example
JSON
{
  "booking": {
    "attendees": [
      {
        "membershipRef": "a85929d2-65d4-4759-84dc-b2109e37414b",
        "user": {
          "about": "some string",
          "email": "some string",
          "id": "d1ff43d0-2345-4758-9001-f0bf35b7e398",
          "name": "some string",
          "phoneNumber": "some string",
          "photoUrl": "some string",
          "surname": "some string"
        }
      }
    ],
    "createDate": "2025-03-18T13:24:38.603Z",
    "endDate": "2025-03-18T13:24:38.603Z",
    "id": "dee9c58c-df38-441e-8be5-50b26a95bbdb",
    "membershipRefOwner": "ce41a018-8ae3-4cfa-9337-81b2db7a2b34",
    "memo": "some string",
    "payment": {
      "amount": 3.14,
      "currencyCode": "some string",
      "invoiceItemRef": "some string",
      "status": "succeeded",
      "tax": {
        "inclusive": true,
        "rate": 3.14
      },
      "transactionRef": "some string",
      "type": "flow"
    },
    "resourceRef": "e63abff6-749e-428f-aec9-85b26f93dc40",
    "resourceType": "some string",
    "seats": 42,
    "startDate": "2025-03-18T13:24:38.603Z",
    "title": "some string",
    "userOwner": {
      "about": "some string",
      "email": "some string",
      "id": "de2ac1af-eba3-4a49-a09e-a5cdd19ee1dd",
      "name": "some string",
      "phoneNumber": "some string",
      "photoUrl": "some string",
      "surname": "some string"
    }
  },
  "type": "some string"
}

booking.created

This event is triggered when a booking is created using any payment method.

Example
JSON
{
  "booking": {
    "attendees": [
      {
        "membershipRef": "ba323daf-18f5-44d4-8528-c79cf0ed772d",
        "user": {
          "about": "some string",
          "email": "some string",
          "id": "74d227fd-f34d-44a0-9316-dd4703cea238",
          "name": "some string",
          "phoneNumber": "some string",
          "photoUrl": "some string",
          "surname": "some string"
        }
      }
    ],
    "createDate": "2025-03-18T13:29:06.090Z",
    "endDate": "2025-03-18T13:29:06.090Z",
    "id": "ab26fd83-f9b5-447b-9d8e-8cf7eaff58f6",
    "membershipRefOwner": "aa2004b6-c93e-4dbc-a3a0-ba7c5b426a3e",
    "memo": "some string",
    "payment": {
      "amount": 3.14,
      "currencyCode": "some string",
      "invoiceItemRef": "some string",
      "status": "succeeded",
      "tax": {
        "inclusive": true,
        "rate": 3.14
      },
      "transactionRef": "some string",
      "type": "flow"
    },
    "resourceRef": "cff29464-06d7-4aef-a2f3-bd27c3901d89",
    "resourceType": "some string",
    "seats": 42,
    "startDate": "2025-03-18T13:29:06.090Z",
    "title": "some string",
    "userOwner": {
      "about": "some string",
      "email": "some string",
      "id": "6a99eb7a-aa01-4968-9b74-d582ecd0d891",
      "name": "some string",
      "phoneNumber": "some string",
      "photoUrl": "some string",
      "surname": "some string"
    }
  },
  "type": "some string"
}

booking.paid

This event is triggered when a booking payment is successfully processed. For non-card payment methods, the event is triggered simultaneously with the `booking.created event`. You can use `booking.payment.type` to distinguish between different types of bookings based on the payment type.

Example
JSON
{
  "booking": {
    "attendees": [
      {
        "membershipRef": "379ed2be-0b5f-4952-b49c-1c4e1b74b789",
        "user": {
          "about": "some string",
          "email": "some string",
          "id": "1b0b8a9c-8845-48bf-a97a-de6bded33845",
          "name": "some string",
          "phoneNumber": "some string",
          "photoUrl": "some string",
          "surname": "some string"
        }
      }
    ],
    "createDate": "2025-03-18T13:23:58.000Z",
    "endDate": "2025-03-18T13:23:58.000Z",
    "id": "be5578b7-c625-479f-be5f-e8853b24a8df",
    "membershipRefOwner": "0e0b71ab-a139-4b1b-8803-8d7c2aa79815",
    "memo": "some string",
    "payment": {
      "amount": 3.14,
      "currencyCode": "some string",
      "invoiceItemRef": "some string",
      "status": "succeeded",
      "tax": {
        "inclusive": true,
        "rate": 3.14
      },
      "transactionRef": "some string",
      "type": "flow"
    },
    "resourceRef": "007a762c-a3a4-428f-8629-556197a64c4b",
    "resourceType": "some string",
    "seats": 42,
    "startDate": "2025-03-18T13:23:58.000Z",
    "title": "some string",
    "userOwner": {
      "about": "some string",
      "email": "some string",
      "id": "f491d133-26cf-43fa-b755-d4c87c545590",
      "name": "some string",
      "phoneNumber": "some string",
      "photoUrl": "some string",
      "surname": "some string"
    }
  },
  "type": "some string"
}

company.created

Example
JSON
{
  "company": {
    "createDate": "some string",
    "id": "some string",
    "locationRef": "4fe78c00-707c-4795-8864-267e80f6928f",
    "metadata": {},
    "notes": "some string",
    "subscriptionRef": "285d9f60-4e1c-4efa-94c6-3d9dc90e6a52",
    "title": "some string"
  },
  "type": "some string"
}

company.deleted

Example
JSON
{
  "company": {
    "createDate": "some string",
    "id": "some string",
    "locationRef": "80e7e637-71b0-420f-8b33-0a2a00b4cd62",
    "metadata": {},
    "notes": "some string",
    "subscriptionRef": "d0cee2ec-cd2d-46e0-9e53-339026232237",
    "title": "some string"
  },
  "type": "some string"
}

event.created

Example
JSON
{
  "event": {
    "applicationType": "some string",
    "createDate": "2025-03-18T13:25:03.444Z",
    "credits": {
      "amount": 3.14,
      "enabled": true
    },
    "description": "some string",
    "endDate": "2025-03-18T13:25:03.444Z",
    "id": "some string",
    "imageUrl": [
      "string",
      "null"
    ],
    "locationRef": "some string",
    "maxAttendees": 42,
    "money": {
      "amount": 3.14,
      "enabled": true
    },
    "networkRef": "some string",
    "startDate": "2025-03-18T13:25:03.444Z",
    "title": "some string",
    "visibilityType": "some string"
  },
  "type": "some string"
}

event.ticket.approvedDeprecated

Example
JSON
{
  "ticket": {
    "createDate": "2025-03-18T13:25:07.702Z",
    "event": {
      "endDate": "2025-03-18T13:25:07.702Z",
      "id": "152527e0-9038-401f-aa2c-00051026080e",
      "startDate": "2025-03-18T13:25:07.702Z",
      "title": "some string"
    },
    "id": "47d37b33-4a73-4203-be2a-e6cf50d7bbb3",
    "locationRef": "a6638097-6c9e-4380-8190-33e5289e5fb1",
    "membershipRef": "33921f67-0f80-4235-bfff-f0b9714cb0c7",
    "payment": {
      "amount": 3.14,
      "currencyCode": "some string",
      "invoiceItemRef": "some string",
      "status": "succeeded",
      "tax": {
        "inclusive": true,
        "rate": 3.14
      },
      "transactionRef": "some string",
      "type": "flow"
    },
    "role": "attendee",
    "user": {
      "about": "some string",
      "email": "some string",
      "id": "138f20c1-76fd-49f0-b9c2-b9f512103515",
      "name": "some string",
      "phoneNumber": "some string",
      "photoUrl": "some string",
      "surname": "some string"
    }
  },
  "type": "some string"
}

event.ticket.created

This event is triggered when an event ticket is created using any payment method.

Example
JSON
{
  "ticket": {
    "createDate": "2025-03-18T13:25:11.628Z",
    "event": {
      "endDate": "2025-03-18T13:25:11.628Z",
      "id": "3da2be4f-e2e2-46c9-bc1b-3b3660370698",
      "startDate": "2025-03-18T13:25:11.628Z",
      "title": "some string"
    },
    "id": "32cd0bdb-a235-4c5f-8e52-642611408b16",
    "locationRef": "0ecade30-1db2-48aa-ae37-cb1da7c6413f",
    "membershipRef": "4e5678d1-9604-4019-8dca-a27b743419a2",
    "payment": {
      "amount": 3.14,
      "currencyCode": "some string",
      "invoiceItemRef": "some string",
      "status": "succeeded",
      "tax": {
        "inclusive": true,
        "rate": 3.14
      },
      "transactionRef": "some string",
      "type": "flow"
    },
    "role": "attendee",
    "user": {
      "about": "some string",
      "email": "some string",
      "id": "7621532e-8d2c-407e-81e2-1a36226e8cbc",
      "name": "some string",
      "phoneNumber": "some string",
      "photoUrl": "some string",
      "surname": "some string"
    }
  },
  "type": "some string"
}

event.ticket.paid

This event is triggered when an event ticket payment is successfully processed. For non-card payment methods, the event is triggered simultaneously with the `event.ticket.created` event. You can use `ticket.payment.type` to distinguish between different types of tickets based on the payment type.

Example
JSON
{
  "ticket": {
    "createDate": "2025-03-18T13:25:15.478Z",
    "event": {
      "endDate": "2025-03-18T13:25:15.478Z",
      "id": "bdc0b97d-d4f9-410d-ac83-b0c7e3f78453",
      "startDate": "2025-03-18T13:25:15.478Z",
      "title": "some string"
    },
    "id": "50c5ef96-0c09-448a-8a50-22425d1dc632",
    "locationRef": "13e833b1-25d6-4521-a8e2-2a28e3aa6358",
    "membershipRef": "de1e2cbf-6853-4c11-b555-9a77c1667eb5",
    "payment": {
      "amount": 3.14,
      "currencyCode": "some string",
      "invoiceItemRef": "some string",
      "status": "succeeded",
      "tax": {
        "inclusive": true,
        "rate": 3.14
      },
      "transactionRef": "some string",
      "type": "flow"
    },
    "role": "attendee",
    "user": {
      "about": "some string",
      "email": "some string",
      "id": "e08974e8-a2d8-40cb-914e-5ca8dd758ed3",
      "name": "some string",
      "phoneNumber": "some string",
      "photoUrl": "some string",
      "surname": "some string"
    }
  },
  "type": "some string"
}

invoice.issued

membership.created

Example
JSON
{
  "membership": {
    "companyRef": "a8db3d04-8afd-45ee-8cec-8c5654093eb1",
    "createDate": "2025-03-18T13:25:25.445Z",
    "deleteDate": "2025-03-18T13:25:25.445Z",
    "id": "79dd32b5-bdc4-47c8-837d-68f909e97367",
    "invitationDate": "2025-03-18T13:25:25.445Z",
    "locationRef": "some string",
    "metadata": {},
    "notes": "some string",
    "role": "member",
    "status": "requested",
    "subscriptionRef": "63bf5093-cdc4-4b51-b469-d22bb7a6a981",
    "type": "member",
    "user": {
      "about": "some string",
      "email": "some string",
      "id": "a15ab99a-65ae-4220-b8f6-69ef770708cc",
      "name": "some string",
      "phoneNumber": "some string",
      "photoUrl": "some string",
      "surname": "some string"
    },
    "userRef": "645fff55-132b-402c-aa1c-be85bb0dbda6"
  },
  "type": "some string"
}

membership.invited

Example
JSON
{
  "membership": {
    "companyRef": "ef2b81b4-9fa5-47d2-913f-473a00bd8266",
    "createDate": "2025-03-18T13:25:32.304Z",
    "deleteDate": "2025-03-18T13:25:32.304Z",
    "id": "2205df47-9f84-452f-b2fd-f9cacf996364",
    "invitationDate": "2025-03-18T13:25:32.304Z",
    "locationRef": "some string",
    "metadata": {},
    "notes": "some string",
    "role": "member",
    "status": "requested",
    "subscriptionRef": "5ac64abb-eaae-4b8d-bf0a-fd23122c4c0a",
    "type": "member",
    "user": {
      "about": "some string",
      "email": "some string",
      "id": "6267710c-a9db-4ac3-bca5-1f483b9ab81b",
      "name": "some string",
      "phoneNumber": "some string",
      "photoUrl": "some string",
      "surname": "some string"
    },
    "userRef": "1ab98bf7-82c7-4558-98b2-66e80142d82e"
  },
  "type": "some string"
}

shop.order.approvedDeprecated

Example
JSON
{
  "order": {
    "createDate": "2025-03-18T13:25:38.728Z",
    "id": "a4821477-3b81-4e99-8717-790ef7b3aa20",
    "locationRef": "8b1e2b96-f057-452c-90b1-3ccc41915d15",
    "membershipRef": "7cb45b76-1986-49aa-a879-43e3c982a23f",
    "number": 3.14,
    "option": {
      "id": "8b791a99-d925-4d13-ac56-ecc752b43148",
      "title": "some string"
    },
    "payment": {
      "amount": 3.14,
      "currencyCode": "some string",
      "invoiceItemRef": "some string",
      "status": "succeeded",
      "tax": {
        "inclusive": true,
        "rate": 3.14
      },
      "transactionRef": "some string",
      "type": "flow"
    },
    "product": {
      "id": "9691151c-623a-4af8-87e1-24c6ebca99fd",
      "title": "some string"
    },
    "user": {
      "about": "some string",
      "email": "some string",
      "id": "2f9f7c7f-d130-4f43-8b87-69ce70c8b873",
      "name": "some string",
      "phoneNumber": "some string",
      "photoUrl": "some string",
      "surname": "some string"
    }
  },
  "type": "some string"
}

shop.order.created

This event is triggered when an shop order is created using any payment method.

Example
JSON
{
  "order": {
    "createDate": "2025-03-18T13:25:44.969Z",
    "id": "79a37440-6225-4e6e-a705-9b57cf3ec534",
    "locationRef": "025baa81-73b6-456a-8bba-bfc8cadf5dc6",
    "membershipRef": "5c42a6d4-49eb-44ed-b546-675d261a503b",
    "number": 3.14,
    "option": {
      "id": "d1381d5c-bdff-4c63-b853-b882c5b6938e",
      "title": "some string"
    },
    "payment": {
      "amount": 3.14,
      "currencyCode": "some string",
      "invoiceItemRef": "some string",
      "status": "succeeded",
      "tax": {
        "inclusive": true,
        "rate": 3.14
      },
      "transactionRef": "some string",
      "type": "flow"
    },
    "product": {
      "id": "3ddfb714-1160-4b02-99db-d131e1128260",
      "title": "some string"
    },
    "user": {
      "about": "some string",
      "email": "some string",
      "id": "a9d994ca-b25b-4f3f-bef3-5fd85ae08463",
      "name": "some string",
      "phoneNumber": "some string",
      "photoUrl": "some string",
      "surname": "some string"
    }
  },
  "type": "some string"
}

shop.order.paid

This event is triggered when a shop order payment is successfully processed. For non-card payment methods, the event is triggered simultaneously with the `shop.order.created` event. You can use `order.payment.type` to distinguish between different types of orders based on the payment type.

Example
JSON
{
  "order": {
    "createDate": "2025-03-18T13:25:49.125Z",
    "id": "390c58ef-fd07-4d73-b9f8-4683b36c80ed",
    "locationRef": "bb81a0b5-1559-4fe9-bcdc-721a7f4de34d",
    "membershipRef": "c4df0ea0-531e-48f7-80f9-ca5879d0186a",
    "number": 3.14,
    "option": {
      "id": "e3eec8d6-db23-43ff-a88f-f02939c46886",
      "title": "some string"
    },
    "payment": {
      "amount": 3.14,
      "currencyCode": "some string",
      "invoiceItemRef": "some string",
      "status": "succeeded",
      "tax": {
        "inclusive": true,
        "rate": 3.14
      },
      "transactionRef": "some string",
      "type": "flow"
    },
    "product": {
      "id": "30cd304c-dd48-4af8-a307-5fbed3b1b0f0",
      "title": "some string"
    },
    "user": {
      "about": "some string",
      "email": "some string",
      "id": "7364b7e3-cf8d-4752-b11a-b7543d9cc76c",
      "name": "some string",
      "phoneNumber": "some string",
      "photoUrl": "some string",
      "surname": "some string"
    }
  },
  "type": "some string"
}

subscription.created

Example
JSON
{
  "company": {
    "createDate": "2020-10-09T00:00:00+02:00",
    "id": "company-id-placeholder",
    "locationRef": "organization-ref-placeholder",
    "metadata": {},
    "notes": "",
    "title": "Sample Company"
  },
  "companyRef": "company-id-placeholder",
  "createDate": "2020-10-09T00:00:00+02:00",
  "credits": 5,
  "currentInterval": {
    "endDate": "2020-11-10T00:00:00+02:00",
    "startDate": "2020-10-10T00:00:00+02:00"
  },
  "dayPasses": 0,
  "endDate": "2020-10-10T01:00:00+02:00",
  "id": "ad70a36e-0b38-4ac8-aa50-e4db5bb4577e",
  "items": [],
  "locationRef": "organization-ref-placeholder",
  "membershipRef": "membership-uuid-placeholder",
  "nextInterval": {
    "startDate": "2020-11-10T00:00:00+02:00"
  },
  "payWithInvoice": {
    "creditPackages": true,
    "desks": true,
    "events": true,
    "rooms": true,
    "shop": true
  },
  "period": "month",
  "price": 250,
  "startDate": "2020-10-10T00:00:00+02:00",
  "timezoneId": "timezone-id-placeholder",
  "user": {
    "about": null,
    "email": null,
    "id": 123,
    "name": null,
    "phoneNumber": null,
    "photoUrl": null,
    "surname": null
  }
}

subscription.deleted

Example
JSON
{
  "company": {
    "createDate": "2020-10-09T00:00:00+02:00",
    "id": "company-id-placeholder",
    "locationRef": "organization-ref-placeholder",
    "metadata": {},
    "notes": "",
    "title": "Sample Company"
  },
  "companyRef": "company-id-placeholder",
  "createDate": "2020-10-09T00:00:00+02:00",
  "credits": 5,
  "currentInterval": {
    "endDate": "2020-11-10T00:00:00+02:00",
    "startDate": "2020-10-10T00:00:00+02:00"
  },
  "dayPasses": 0,
  "endDate": "2020-10-10T01:00:00+02:00",
  "id": "ad70a36e-0b38-4ac8-aa50-e4db5bb4577e",
  "items": [],
  "locationRef": "organization-ref-placeholder",
  "membershipRef": "membership-uuid-placeholder",
  "nextInterval": {
    "startDate": "2020-11-10T00:00:00+02:00"
  },
  "payWithInvoice": {
    "creditPackages": true,
    "desks": true,
    "events": true,
    "rooms": true,
    "shop": true
  },
  "period": "month",
  "price": 250,
  "startDate": "2020-10-10T00:00:00+02:00",
  "timezoneId": "timezone-id-placeholder",
  "user": {
    "about": null,
    "email": null,
    "id": 123,
    "name": null,
    "phoneNumber": null,
    "photoUrl": null,
    "surname": null
  }
}

subscription.purchased

Example
JSON
{
  "company": {
    "createDate": "2020-10-09T00:00:00+02:00",
    "id": "company-id-placeholder",
    "locationRef": "organization-ref-placeholder",
    "metadata": {},
    "notes": "",
    "title": "Sample Company"
  },
  "companyRef": "company-id-placeholder",
  "createDate": "2020-10-09T00:00:00+02:00",
  "credits": 5,
  "currentInterval": {
    "endDate": "2020-11-10T00:00:00+02:00",
    "startDate": "2020-10-10T00:00:00+02:00"
  },
  "dayPasses": 0,
  "endDate": "2020-10-10T01:00:00+02:00",
  "id": "ad70a36e-0b38-4ac8-aa50-e4db5bb4577e",
  "items": [],
  "locationRef": "organization-ref-placeholder",
  "membershipRef": "membership-uuid-placeholder",
  "nextInterval": {
    "startDate": "2020-11-10T00:00:00+02:00"
  },
  "payWithInvoice": {
    "creditPackages": true,
    "desks": true,
    "events": true,
    "rooms": true,
    "shop": true
  },
  "period": "month",
  "price": 250,
  "startDate": "2020-10-10T00:00:00+02:00",
  "timezoneId": "timezone-id-placeholder",
  "user": {
    "about": null,
    "email": null,
    "id": 123,
    "name": null,
    "phoneNumber": null,
    "photoUrl": null,
    "surname": null
  }
}

subscription.updated

Example
JSON
{
  "company": {
    "createDate": "2020-10-09T00:00:00+02:00",
    "id": "company-id-placeholder",
    "locationRef": "organization-ref-placeholder",
    "metadata": {},
    "notes": "",
    "title": "Sample Company"
  },
  "companyRef": "company-id-placeholder",
  "createDate": "2020-10-09T00:00:00+02:00",
  "credits": 5,
  "currentInterval": {
    "endDate": "2020-11-10T00:00:00+02:00",
    "startDate": "2020-10-10T00:00:00+02:00"
  },
  "dayPasses": 0,
  "endDate": "2020-10-10T01:00:00+02:00",
  "id": "ad70a36e-0b38-4ac8-aa50-e4db5bb4577e",
  "items": [],
  "locationRef": "organization-ref-placeholder",
  "membershipRef": "membership-uuid-placeholder",
  "nextInterval": {
    "startDate": "2020-11-10T00:00:00+02:00"
  },
  "payWithInvoice": {
    "creditPackages": true,
    "desks": true,
    "events": true,
    "rooms": true,
    "shop": true
  },
  "period": "month",
  "price": 250,
  "startDate": "2020-10-10T00:00:00+02:00",
  "timezoneId": "timezone-id-placeholder",
  "user": {
    "about": null,
    "email": null,
    "id": 123,
    "name": null,
    "phoneNumber": null,
    "photoUrl": null,
    "surname": null
  }
}

support.ticket.created

Example
JSON
{
  "ticket": {
    "createDate": "2025-03-18T13:25:56.647Z",
    "description": "some string",
    "id": "7d44ff15-c768-4045-8ccf-7ac3c169f777",
    "locationRef": "ff775731-cbe4-4818-b8bd-add45c221039",
    "membershipRefAssignee": "bf71d7c9-bcb0-48ab-b44c-15335187babf",
    "membershipRefRequester": "f45fd9b6-6d9b-4f33-9895-04b7f9746fd2",
    "number": 42,
    "status": "new",
    "type": "access",
    "updateDate": "2025-03-18T13:25:56.648Z",
    "userAssignee": {
      "about": "some string",
      "email": "email",
      "id": "1776a781-ff3c-4ef6-91c2-c083c47def9b",
      "name": "some string",
      "phoneNumber": "some string",
      "photoUrl": "uri",
      "surname": "some string"
    },
    "userRequester": {
      "about": "some string",
      "email": "email",
      "id": "ca31d4f9-7f29-44ee-82f4-b95cd24cd3aa",
      "name": "some string",
      "phoneNumber": "some string",
      "photoUrl": "uri",
      "surname": "some string"
    }
  },
  "type": "some string"
}

visitors.request.approved

This even is triggered when visit request is being approved

Example visit
JSON
{
  "visit": {
    "checkInDate": "some string",
    "checkOutDate": "some string",
    "code": "some string",
    "comment": "some string",
    "createDate": "some string",
    "date": "some string",
    "id": "some string",
    "locationRef": "some string",
    "membershipRefHost": "some string",
    "userHost": {
      "email": "some string",
      "id": "some string",
      "name": "some string",
      "phoneNumber": "some string",
      "photoUrl": "some string",
      "surname": "some string"
    },
    "userRefVisitor": "some string",
    "visitor": {
      "email": "some string",
      "name": "some string",
      "phoneNumber": "some string",
      "surname": "some string"
    }
  }
}