Skip to main content
This page covers the data formats and conventions used across all Swoogo API requests and responses.

IDs

All resource identifiers (event_id, registrant_id, session_id, etc.) must be transmitted as integer values.

Date and time

Timestamps follow the ISO 8601 standard:
FormatExampleUsage
Full date-time2024-11-08 16:04:40Created/updated timestamps, scheduling
Date only2024-11-08Date filters, date-only fields
Time only16:04:40Time-only fields

Time zones

Time zone values must use one of the zone identifiers the API supports. United States zones use POSIX-style names (e.g., US/Eastern, US/Central, US/Mountain, US/Pacific, US/Alaska, US/Arizona), while most other zones use region/city names (e.g., Europe/London, Europe/Paris, Asia/Tokyo, Australia/Sydney, America/Los_Angeles, America/Mexico_City). UTC is also accepted.
Timezone abbreviations (e.g., EST, EDT, PST, CET) are not accepted. Some IANA identifiers are also not accepted — most notably America/New_York, which must be submitted as US/Eastern.

Currencies

Currency values use the ISO 4217 three-letter format (e.g., USD, EUR, GBP). See the full list of ISO 4217 currency codes.

Addresses

  • Countries — Use ISO 3166 Alpha-2 codes (e.g., US, GB, DE, AU)
  • States and provinces — Use standard 2-character abbreviations (e.g., CA, NY, ON)

Boolean values

Booleans are formatted differently in requests vs. responses.
ContextTrueFalse
Sending (request body)10
Receiving (response JSON)truefalse

Phone numbers

The API uses E.164 format — the international standard that includes the country code without spaces or special characters.
CountryExample
United States+1234567890
United Kingdom+447911123456
Australia+61412345678
Germany+4915112345678
If the E.164 format isn’t provided, the system attempts to assign a country code automatically, but accuracy is not guaranteed. Always include the country code prefix.

Expand parameter

Certain GET endpoints support the expand parameter to include related objects in the response. Pass a comma-separated list of singular object type names:
GET /registrants?expand=contact,sessions
Using expand caps the maximum page size at 200 items per page.