---
title: Integrate Memberships via a Webhook
slug: cinema/integrate-memberships-via-a-webhook
createdAt: 2024-11-13T18:44:07.058Z
---

Filmbot can send membership information to a third-party system, such as a Donor Management System, via [webhooks](https://en.wikipedia.org/wiki/Webhook).&#x20;

First, check with the support team of your third-party system to see if it supports receiving information via webhooks. If so, they can provide you with a webhook URL.&#x20;

To add the webhook URL to Filmbot, visit Settings > Theater Setup > Memberships, add the URL they provided, and click Save Changes. You can use the Test Webhook button next to the configured URL to send test information, and you can inspect the request and response details (including response time) to verify the webhook is being received correctly by your third-party system.

When a membership is purchased or renewed, Filmbot will then send a json file with the following information to the configured URL.

:::BlockQuote
membership-webhook.json:
\{
&#x20; "membership\_id": 1234567,
&#x20; "membership\_code": "MGS2XPR",
&#x20; "membership\_plan": "Family Plan",
&#x20; "membership\_term": "annual",
&#x20; "individual\_or\_dual": "dual",
&#x20; "purchase\_date": "2023-01-01",
&#x20; "end\_date": "2024-01-01",
&#x20; "price\_paid": 100,
&#x20; "signup\_or\_renewal": "signup",
&#x20; "gifted": "yes",
&#x20; "gift\_purchaser\_id": 10,
&#x20; "gift\_purchaser\_email": "purchaser\@test.com",
&#x20; "member\_1\_id": 11,
&#x20; "member\_1\_name": "John Doe",
&#x20; "member\_1\_email": "john.doe\@test.com",
&#x20; "member\_1\_birthdate": "1990-01-01",
&#x20; "member\_2\_id": 12,
&#x20; "member\_2\_name": "Jane Doe",
&#x20; "member\_2\_email": "jane.doe\@test.com",
&#x20; "member\_2\_birthdate": "1990-01-01",
&#x20; "mailing\_address": "123 Main St",
&#x20; "mailing\_address\_2": "Apt 1",
&#x20; "mailing\_city": "Anytown",
&#x20; "mailing\_state": "NY",
&#x20; "mailing\_postal\_code": "12345",
&#x20; "mailing\_country": "USA",
&#x20; "phone": "123-456-7890",
&#x20; "interests": "Cinema, History",
&#x20; "source": "Letterboxd"
}
:::

