Skip to main content
View as Markdown

Developer API: rules and limits to know before importing data

External IDs, create and update, request size, image links and error checks: what your integration must respect when it sends people and sessions to Swapcard.

If your registration tool, your CRM or a developer sends data to Swapcard through the Developer API, a few rules decide whether each person is created, updated or skipped. Share this page with whoever builds or runs the integration.

This page explains the rules. For requests, examples and error codes, see the Developer Portal.

Before you start


External IDs: one ID, one person​

The External ID (clientId) is the ID of the person in your own tool, such as a registration number.

A person can have multiple External IDs, but each External ID belongs to only one person in your whole community, across all your events, not only in one event.

When your integration sends a person, Swapcard looks for them in this order:

  1. Someone with the same id.
  2. Someone with the same External ID.
  3. Someone in the event with the same email, if the email is in the create block.

If no one is found, a new person is created.

Never reuse an External ID​

⚠️ If an External ID already belongs to someone in the Swapcard community that the Swapcard event belongs to, Swapcard doesn't create a new person. It updates the person who has this ID with the data you send: name, company, groups, exhibitor memberships and so on. No error is shown.

Tip: if your tool restarts its numbering for each event (1, 2, 3…), add a prefix such as the event code (EXPO26-1, EXPO26-2…) so that IDs never repeat in your community.

Keep the force option off​

⚠️ The force option is called force: true in the API, Force update in Zapier and Force conflicting ids in pre-built connectors. With it, Swapcard skips the checks that protect existing people:

  • An External ID that belongs to someone else is moved to the person you import, without any error.
  • Any tool that finds people by this ID, for example to link speakers to sessions, then updates the wrong person.

You don't need force to give a person a second External ID. If Swapcard finds the person by the email in the create block, and no one else uses the new ID, the ID is added to their profile.


Create and update: always send both​

Each person you send can have a create block and an update block:

  • create is used only if the person isn't in the event yet.
  • update is used only if the person is already in the event.

✅ Always send both blocks, with the email in the create block. Here is what happens otherwise:

What you sendPerson not in the eventPerson already in the event
create and updateCreatedUpdated
update onlyNothing happens, and no error is shownUpdated
create onlyCreatedProfile not changed. Only the actions apply: groups, exhibitors, sessions, badge codes

Good to know:

  • Updates overwrite. Each run rewrites the fields in the update block, including changes made in Studio or by the person. Fields you don't send are kept.
  • Removed people come back. A person removed from the event, in Studio or through the API, stays removed until your integration sends them again. The next import that includes them adds them back. To keep someone out, remove them from your tool too.

Request size: send people in batches​

  • Each request can be up to 1 MB.
  • A larger request is rejected as a whole with a generic error (HTTP 500), and no one in it is imported.

There is no fixed number of people per request. Send large lists in batches, for example 50 to 100 people per request, and stay within the rate limits of the Developer Portal.


Profile photos (photoUrl) and session banners (bannerUrl) are sent as links. Swapcard downloads each image after the import.

Each link must:

  • Start with https://.
  • Open the image file itself (JPG, PNG, GIF, WebP or SVG), not a web page.
  • Be public, so it opens without signing in.

⚠️ If Swapcard can't download the image, it is skipped without any error. This is the case with Google Drive or Dropbox sharing links, which open a web page instead of the image.

When you import several sessions at once, their banners can take up to a minute to appear.


Check the result of each import​

The Developer API answers with a success status (200) even when some people are rejected. Always read the response:

FieldWhat it contains
errorsThe people rejected, with the reason
eventPeopleCreatedThe people created
eventPeopleUpdatedThe people updated

A person who isn't in any of these lists wasn't created or changed. Check that their entry has both a create and an update block, and an email in the create block.

Good to know:

  • Keep the responses. Unlike pre-built connectors, a custom integration has no Logs tab in Studio. Ask whoever runs the integration to save these responses.
  • Find who has an External ID. Export your People list and check the External id column.
  • New people can take a few minutes to appear in Studio lists.

Learn more​