Net Hub API and webhooks: developer guide

How a developer pulls your organisation, groups, members (with their group and subscription status) and events out of Net Hub with an API key, and receives new members, attendees and bookings by webhook, with a Postman collection to download.

For organisers · Updated 27 November 2026 · 8 sections

Net Hub has a read-only API for your organisation, groups, members and events, and webhooks that push new members, attendee changes and new bookings to your own system. API access is on the Member Starter, Member Growth and Member Unlimited plans.

Downloads

Create an API key

  1. In the Management dashboard, go to Integrations, then API.
  2. Name the key, then tick the modules it may read (Organisation, Groups, Members, Events) and the fields within each.
  3. Optionally enter an allowed IP range, such as 203.0.113.0/24, so only your servers can use the key.
  4. Copy the token when it is shown and keep it secret. You can edit or delete the key at any time.

Make a request

Send the key in the x-api-token header. The base URL is https://extapi.mynethub.com.

curl https://extapi.mynethub.com/v1/members \
  -H "x-api-token: YOUR_API_KEY"
Endpoint Returns
GET /v1/organisations Your organisation, as one object
GET /v1/networkdirectories All your groups
GET /v1/networkdirectories/{id} One group (use its groupId from the list)
GET /v1/members Members of all your groups; add ?networkDirectory={groupId} for one group
GET /v1/events Live events created by your organisation and its groups

Each response holds the fields ticked on the key for that module, plus the ID and status fields every key gets (below). A field with no value comes back as null.

Each group has a groupId. Pass it as networkDirectory to list one group's members.

Members

GET /v1/members returns one record per person per group. Someone in two groups comes back twice, with the same userId and a different memberId, groupId and groupName. To get one record per person, merge on userId.

Every key gets these member fields:

  • memberId: this membership (one per person per group)
  • userId: the person, the same in every group (empty for prospects, who have no account yet)
  • groupId and groupName: the group this record is for
  • membershipStatus: joined, invited, requested, rejected, prospect or exmember
  • subscriptionStatus: their subscription in this group, active, pending, expired, renewal, paused or ended, or empty when they have no subscription there (for example a free group). If they have more than one subscription in the group, the most current one is shown, in the order active, renewal, paused, pending, expired, ended, so a paid-up plan is never hidden by an older one still retrying a payment

status is separate: it is the person's account status (active, inactive, or prospect for applicants with no account).

Events

GET /v1/events returns only published events that are not cancelled, soonest first. Drafts are never sent, and an event that is cancelled or unpublished drops out of the list, so when you sync, remove any event that is no longer returned.

Each event can include:

  • eventId: Net Hub's ID for the event, to match events between syncs
  • name, description and details (the long description, as HTML)
  • address and postcode (empty for online events)
  • startDate, endDate, startTime and endTime, such as 15 December 2026 and 7:30 am
  • contactName, contactTel and contactEmail
  • shortUrlLink, the short link to the public event page, and virtualUrl, the joining link for online events (either can be an empty string when there isn't one)
  • bannerImage, the full-size banner, and bannerImageSmall, a smaller copy made for social previews (the same image when only one size was uploaded)
  • organisedBy: the group that runs the event, or your organisation's name for organisation-level events
  • isPublished and isCancelled (always true and false), and createdAt and updatedAt timestamps

Limits and errors

  • Rate limit: 10 requests per key every 2 minutes, then 429 Too many requests until the window resets. Sync hourly or nightly rather than polling.
  • Read-only: the API cannot create, change or delete anything. Add members in the dashboard or with its CSV import.
  • 403 Forbidden: the header is missing or the key does not exist.
  • 403 Not allowed: that module is not ticked on the key.
  • 403 You are not allowed to access this resource: the call came from outside the key's IP range.
  • 400 Invalid network directory ID: the group ID is not a 24-character code.

Webhooks

Webhooks are set up on the same Integrations, API page. Net Hub sends a POST with a JSON body to your https:// address when:

  • someone is added to one of your groups, or a member updates their profile
  • an attendee's ticket is created or changes (check-in, attendance, food, payment, refund)
  • a new event booking is made

Each webhook only goes live after its first successful test, so send a test from the dashboard once your address is ready. Deliveries are not retried: if your address keeps failing, Net Hub stops sending until a test succeeds again. The Webhooks Reference lists every field.

If that didn't work

Check the key has the module ticked and that you are calling from an allowed address. If you are still stuck, email support with the endpoint you called, the time and the status code you got back. Never send us your API key.

On this page
  1. Downloads
  2. Create an API key
  3. Make a request
  4. Members
  5. Events
  6. Limits and errors
  7. Webhooks
  8. If that didn't work