The documentation of the WeezCrew GraphQL API has been fully revised: every type and field is now described, new guides help you get started, and the public API now gives access to the members, positions, accreditations and teams of your events.
Who is this update for?
Organizations that connect WeezCrew to their own tools (CRM, ticketing, access control, dashboards…) through the API. If you don't use the API, nothing changes for you.
What's new
More data available. For an event, you can now read the list of members, positions, accreditations and teams. For each member, you get their assignments to position slots and their accreditations, with check-ins. At the organization level, you can also read the members and the teams.
Complete documentation. Every type, field, argument and possible value is now described, based on how WeezCrew actually works.
New introduction guides:
Getting started: the API address, your first queries (organizations, events, members), choosing the language and reading errors;
Authentication: how your API key works;
Lists and pagination: how to go through long lists page by page;
Filtering lists: rewritten and corrected, it describes all the advanced filters (AND / OR groups, custom fields, filters on members, positions, accreditations, teams…).
How your API key works
Each request sends your key in the x-heavent-api-key header. A key is tied to a WeezCrew user, and the API acts on their behalf:
it reaches the same organizations, events and data as that user, with the same permissions;
to widen or narrow what it can read, change that user's access in WeezCrew;
keep it secret and use it server side only: anyone who has it can read what the user can read.
Tip: on large lists, such as the members of an event, always set limit. Without it, the API returns the whole list at once.
Fields no longer part of the public API
To make clear what the API guarantees, some internal fields are no longer documented or supported in the public API: organization billing, printing and WeezAccess, history, workflows, email templates, and the positionsIds and positionsCategoriesIds fields of registrations (they did not reflect the wishes entered in forms). To get a member's positions, use their assignments (positionsSlotsUsersInfos) instead.
If your integration uses one of these fields, contact us: we'll help you find an alternative.
How to get started
Ask the WeezCrew team for an API key if you don't have one yet.
Send your requests as POST to https://api.weezevent.com/crew.
Start with the Getting started guide of the documentation to write your first queries.
Texts returned by the API (names, descriptions…) are in the language of your key's user; add ?lang=en (or fr, de, es, nl) to the address to choose another one.