Swapcard

App · 17 actions

Manage Swapcard events: attendees, speakers, sessions, exhibitors and groups.

Actions

ActionWhat it does
Add a personAdd a person to an event, such as an attendee or a speaker.
Add an exhibitorAdd an exhibitor to an event.
Create a groupCreate a group in an event, to give people or exhibitors the same access.
Create a sessionAdd a session to an event's agenda.
Delete a sessionDelete a session from an event's agenda.
Delete an exhibitorDelete an exhibitor from Swapcard, in every event of the community.
Get a personGet one person of an event by their id.
Get an eventGet an event's dates, address, language, totals and community.
List eventsList the events the key can see.
List exhibitorsList an event's exhibitors.
List groupsList an event's groups (such as attendees, speakers, exhibitors) with how many are in each.
List peopleList the people (attendees, speakers and others) of an event, with search and filters.
List sessionsList the sessions of an event's agenda.
Remove a personRemove a person from an event.
Update a personChange a person's details.
Update a sessionChange a session.
Update an exhibitorChange an exhibitor's details.

Add a person

Add a person to an event, such as an attendee or a speaker.

Inputs

Eventevent_idtextRequired
The Swapcard event.
Emailemailtext
Their email address, unique in the community. It can't be changed later.
First namefirst_nametextRequired
The person's first name.
Last namelast_nametextRequired
The person's last name.
Job titlejob_titletext
Their job title.
Organizationorganizationtext
Their organization.
Photo URLphoto_urltext
A public link to their photo.
Website URLwebsite_urltext
Their website.
Biographybiographytext
A short biography.
Mobile phonemobile_phonetext
Their mobile number.
Visibleis_visibletrue/false
Show them in the event's attendee list.
Can sign inis_usertrue/false
Create an account they can sign in with (needs an email address). Off adds a profile only.
Groupsgroup_idslist
Groups to put them in.
Your IDclient_idtext
Your own id for them, such as one from your registration system.

Outputs

dataobject
The response from Swapcard.
Example output
{
  "data": {
    "person": {
      "biography": "example",
      "clientIds": [
        "example"
      ],
      "createdAt": "example",
      "email": "example",
      "firstName": "example",
      "groups": [
        {
          "id": "example",
          "name": "example"
        }
      ],
      "id": "example",
      "isVisible": true,
      "jobTitle": "example",
      "lastName": "example",
      "organization": "example",
      "photoUrl": "example",
      "type": "example",
      "updatedAt": "example",
      "userId": "example",
      "websiteUrl": "example"
    }
  }
}

Add an exhibitor

Add an exhibitor to an event.

Inputs

Eventevent_idtextRequired
The Swapcard event.
NamenametextRequired
The exhibitor's name.
Descriptiondescriptiontext
What the exhibitor does.
Emailemailtext
The exhibitor's contact email address.
Website URLwebsite_urltext
The exhibitor's website.
Logo URLlogo_urltext
A public link to the exhibitor's logo.
Groupgroup_idtext
The group the exhibitor belongs to.
Your IDclient_idtext
Your own id for the exhibitor.

Outputs

dataobject
The response from Swapcard.
Example output
{
  "data": {
    "exhibitor": {
      "clientIds": [
        "example"
      ],
      "createdAt": "example",
      "description": "example",
      "email": "example",
      "id": "example",
      "logoUrl": "example",
      "name": "example",
      "totalMembers": 1,
      "type": "example",
      "updatedAt": "example",
      "websiteUrl": "example"
    }
  }
}

Create a group

Create a group in an event, to give people or exhibitors the same access.

Inputs

Eventevent_idtextRequired
The Swapcard event.
NamenametextRequired
The group's name.

Outputs

dataobject
The response from Swapcard.
Example output
{
  "data": {
    "group": {
      "exhibitorCount": 1,
      "id": "example",
      "isDefault": true,
      "name": "example",
      "peopleCount": 1
    }
  }
}

Create a session

Add a session to an event's agenda.

Inputs

Eventevent_idtextRequired
The Swapcard event.
TitletitletextRequired
The session's title.
Descriptiondescriptiontext
What the session is about.
Starts atbegins_atdate and time
When the session starts.
Ends atends_atdate and time
When the session ends.
Max seatsmax_seatsnumber
How many people can register.At least 0.
Privateis_privatetrue/false
Only invited people see the session.
Hide attendeeshide_attendeestrue/false
Hide who's attending.
Banner URLbanner_urltext
A public link to the session's banner image.
Exhibitorsexhibitor_idslist
Exhibitors linked to the session.
Languagelanguagetext
The language of the title and description. Leave empty for the event's language.One of: en_US (En us), fr_FR (Fr fr), de_DE (De de), es_ES (Es es), it_IT (It it), pt_BR (Pt br), pt_PT (Pt pt), nl_NL (Nl nl), fr_CA (Fr ca), ja_JP (Ja jp), and 10 more.

Outputs

dataobject
The response from Swapcard.
Example output
{
  "data": {
    "session": {
      "beginsAt": "example",
      "categories": [
        "example"
      ],
      "clientIds": [
        "example"
      ],
      "createdAt": "example",
      "description": "example",
      "endsAt": "example",
      "format": "example",
      "id": "example",
      "isPrivate": true,
      "maxSeats": 1,
      "place": "example",
      "title": "example",
      "totalAttendees": 1,
      "type": "example",
      "updatedAt": "example"
    }
  }
}

Delete a session

Delete a session from an event's agenda.

Inputs

Eventevent_idtextRequired
The Swapcard event.
Sessionsession_idtextRequired
The session.

Outputs

dataobject
The response from Swapcard.
Example output
{
  "data": {
    "deletedIds": [
      "example"
    ]
  }
}

Delete an exhibitor

Delete an exhibitor from Swapcard, in every event of the community.

Inputs

Eventevent_idtextRequired
The Swapcard event.
Exhibitorexhibitor_idtextRequired
The exhibitor.

Outputs

dataobject
The response from Swapcard.
Example output
{
  "data": {
    "deletedIds": [
      "example"
    ]
  }
}

Get a person

Get one person of an event by their id.

Inputs

Eventevent_idtextRequired
The Swapcard event.
Person IDperson_idtextRequired
The person's id in the event (an event person id).

Outputs

dataobject
The response from Swapcard.
Example output
{
  "data": {
    "person": {
      "biography": "example",
      "clientIds": [
        "example"
      ],
      "createdAt": "example",
      "email": "example",
      "firstName": "example",
      "groups": [
        {
          "id": "example",
          "name": "example"
        }
      ],
      "id": "example",
      "isVisible": true,
      "jobTitle": "example",
      "lastName": "example",
      "organization": "example",
      "photoUrl": "example",
      "type": "example",
      "updatedAt": "example",
      "userId": "example",
      "websiteUrl": "example"
    }
  }
}

Get an event

Get an event's dates, address, language, totals and community.

Inputs

Eventevent_idtextRequired
The Swapcard event.

Outputs

dataobject
The response from Swapcard.
Example output
{
  "data": {
    "event": {
      "address": {
        "city": "example",
        "country": "example",
        "place": "example",
        "state": "example",
        "street": "example",
        "zipCode": "example"
      },
      "beginsAt": "example",
      "community": {
        "id": "example",
        "name": "example"
      },
      "createdAt": "example",
      "endsAt": "example",
      "eventStatus": "example",
      "htmlDescription": "example",
      "id": "example",
      "isLive": true,
      "language": "example",
      "slug": "example",
      "timezone": "example",
      "title": "example",
      "totalExhibitors": 1,
      "totalPlannings": 1,
      "totalSpeakers": 1,
      "updatedAt": "example"
    }
  }
}

List events

List the events the key can see.

Inputs

Whentime_statustext
Only upcoming, ongoing or past events.One of: UPCOMING, ON_GOING (On going), PAST.
Slugslugtext
Only the event with this slug: the event's name as its web address shows it.
Pagepagenumber
Which page to get, from 1.At least 1.
Page sizepage_sizenumber
How many events per page, up to 200.From 1 to 200.

Outputs

dataobject
The response from Swapcard.
Example output
{
  "data": {
    "events": [
      {
        "address": {
          "city": "example",
          "country": "example",
          "place": "example",
          "state": "example",
          "street": "example",
          "zipCode": "example"
        },
        "beginsAt": "example",
        "community": {
          "id": "example",
          "name": "example"
        },
        "createdAt": "example",
        "endsAt": "example",
        "eventStatus": "example",
        "htmlDescription": "example",
        "id": "example",
        "isLive": true,
        "language": "example",
        "slug": "example",
        "timezone": "example",
        "title": "example",
        "totalExhibitors": 1,
        "totalPlannings": 1,
        "totalSpeakers": 1,
        "updatedAt": "example"
      }
    ]
  }
}

List exhibitors

List an event's exhibitors.

Inputs

Eventevent_idtextRequired
The Swapcard event.
Searchsearchtext
Text to find in the exhibitors.
Updated sinceupdated_sincedate and time
Only exhibitors changed since this time.
Sort bysort_bytext
What to sort by.One of: NAME, CREATED_AT (Created at), UPDATED_AT (Updated at).
Sort ordersort_ordertext
Which way to sort.One of: ASC, DESC.
Page sizepage_sizenumber
How many exhibitors to get, up to 200.From 1 to 200.
After cursoraftertext
Get the next page: the pageInfo.endCursor of the page before.

Outputs

dataobject
The response from Swapcard.
Example output
{
  "data": {
    "exhibitors": [
      {
        "clientIds": [
          "example"
        ],
        "createdAt": "example",
        "description": "example",
        "email": "example",
        "id": "example",
        "logoUrl": "example",
        "name": "example",
        "totalMembers": 1,
        "type": "example",
        "updatedAt": "example",
        "websiteUrl": "example"
      }
    ],
    "pageInfo": {
      "endCursor": "example",
      "hasNextPage": true
    },
    "totalCount": 1
  }
}

List groups

List an event's groups (such as attendees, speakers, exhibitors) with how many are in each.

Inputs

Eventevent_idtextRequired
The Swapcard event.

Outputs

dataobject
The response from Swapcard.
Example output
{
  "data": {
    "groups": [
      {
        "exhibitorCount": 1,
        "id": "example",
        "isDefault": true,
        "name": "example",
        "peopleCount": 1
      }
    ]
  }
}

List people

List the people (attendees, speakers and others) of an event, with search and filters.

Inputs

Eventevent_idtextRequired
The Swapcard event.
Searchsearchtext
Text to find in people's names and details.
Emailsemailslist
Only people with these email addresses.
Groupsgroup_idslist
Only people in these groups.
Updated sinceupdated_sincedate and time
Only people changed since this time.
Sort bysort_bytext
What to sort by.One of: CREATED_AT (Created at), UPDATED_AT (Updated at), FIRST_NAME (First name), LAST_NAME (Last name), JOB_TITLE (Job title), REGISTERED_AT (Registered at).
Sort ordersort_ordertext
Which way to sort.One of: ASC, DESC.
Page sizepage_sizenumber
How many people to get, up to 200.From 1 to 200.
After cursoraftertext
Get the next page: the pageInfo.endCursor of the page before.

Outputs

dataobject
The response from Swapcard.
Example output
{
  "data": {
    "pageInfo": {
      "endCursor": "example",
      "hasNextPage": true
    },
    "people": [
      {
        "biography": "example",
        "clientIds": [
          "example"
        ],
        "createdAt": "example",
        "email": "example",
        "firstName": "example",
        "groups": [
          {
            "id": "example",
            "name": "example"
          }
        ],
        "id": "example",
        "isVisible": true,
        "jobTitle": "example",
        "lastName": "example",
        "organization": "example",
        "photoUrl": "example",
        "type": "example",
        "updatedAt": "example",
        "userId": "example",
        "websiteUrl": "example"
      }
    ],
    "totalCount": 1
  }
}

List sessions

List the sessions of an event's agenda.

Inputs

Eventevent_idtextRequired
The Swapcard event.
Searchsearchtext
Text to find in the sessions.
Updated sinceupdated_sincedate and time
Only sessions changed since this time.
Sort bysort_bytext
What to sort by.One of: BEGINS_AT (Begins at), CREATED_AT (Created at), ENDS_AT (Ends at), TITLE, PLACE, TYPE.
Sort ordersort_ordertext
Which way to sort.One of: ASC, DESC.
Page sizepage_sizenumber
How many sessions to get, up to 200.From 1 to 200.
After cursoraftertext
Get the next page: the pageInfo.endCursor of the page before.

Outputs

dataobject
The response from Swapcard.
Example output
{
  "data": {
    "pageInfo": {
      "endCursor": "example",
      "hasNextPage": true
    },
    "sessions": [
      {
        "beginsAt": "example",
        "categories": [
          "example"
        ],
        "clientIds": [
          "example"
        ],
        "createdAt": "example",
        "description": "example",
        "endsAt": "example",
        "format": "example",
        "id": "example",
        "isPrivate": true,
        "maxSeats": 1,
        "place": "example",
        "title": "example",
        "totalAttendees": 1,
        "type": "example",
        "updatedAt": "example"
      }
    ],
    "totalCount": 1
  }
}

Remove a person

Remove a person from an event.

Inputs

Eventevent_idtextRequired
The Swapcard event.
Person IDperson_idtextRequired
The person's id in the event (an event person id).

Outputs

dataobject
The response from Swapcard.
Example output
{
  "data": {
    "deletedIds": [
      "example"
    ]
  }
}

Update a person

Change a person's details. Only the fields you fill in change.

Inputs

Person IDperson_idtextRequired
The person's id in the event (an event person id).
Emailemailtext
Their email address.
First namefirst_nametext
The person's first name.
Last namelast_nametext
The person's last name.
Job titlejob_titletext
Their job title.
Organizationorganizationtext
Their organization.
Photo URLphoto_urltext
A public link to their photo.
Website URLwebsite_urltext
Their website.
Biographybiographytext
A short biography.
Mobile phonemobile_phonetext
Their mobile number.
Visibleis_visibletrue/false
Show them in the event's attendee list.

Outputs

dataobject
The response from Swapcard.
Example output
{
  "data": {
    "person": {
      "biography": "example",
      "clientIds": [
        "example"
      ],
      "createdAt": "example",
      "email": "example",
      "firstName": "example",
      "groups": [
        {
          "id": "example",
          "name": "example"
        }
      ],
      "id": "example",
      "isVisible": true,
      "jobTitle": "example",
      "lastName": "example",
      "organization": "example",
      "photoUrl": "example",
      "type": "example",
      "updatedAt": "example",
      "userId": "example",
      "websiteUrl": "example"
    }
  }
}

Update a session

Change a session. Only the fields you fill in change.

Inputs

Eventevent_idtextRequired
The Swapcard event.
Sessionsession_idtextRequired
The session.
Titletitletext
The session's title.
Descriptiondescriptiontext
What the session is about.
Starts atbegins_atdate and time
When the session starts.
Ends atends_atdate and time
When the session ends.
Max seatsmax_seatsnumber
How many people can register.At least 0.
Privateis_privatetrue/false
Only invited people see the session.
Hide attendeeshide_attendeestrue/false
Hide who's attending.
Banner URLbanner_urltext
A public link to the session's banner image.
Exhibitorsexhibitor_idslist
Exhibitors linked to the session.
Languagelanguagetext
The language of the title and description. Leave empty for the event's language.One of: en_US (En us), fr_FR (Fr fr), de_DE (De de), es_ES (Es es), it_IT (It it), pt_BR (Pt br), pt_PT (Pt pt), nl_NL (Nl nl), fr_CA (Fr ca), ja_JP (Ja jp), and 10 more.

Outputs

dataobject
The response from Swapcard.
Example output
{
  "data": {
    "session": {
      "beginsAt": "example",
      "categories": [
        "example"
      ],
      "clientIds": [
        "example"
      ],
      "createdAt": "example",
      "description": "example",
      "endsAt": "example",
      "format": "example",
      "id": "example",
      "isPrivate": true,
      "maxSeats": 1,
      "place": "example",
      "title": "example",
      "totalAttendees": 1,
      "type": "example",
      "updatedAt": "example"
    }
  }
}

Update an exhibitor

Change an exhibitor's details. Only the fields you fill in change.

Inputs

Eventevent_idtextRequired
The Swapcard event.
Exhibitorexhibitor_idtextRequired
The exhibitor.
Namenametext
The exhibitor's name.
Descriptiondescriptiontext
What the exhibitor does.
Emailemailtext
The exhibitor's contact email address.
Website URLwebsite_urltext
The exhibitor's website.
Logo URLlogo_urltext
A public link to the exhibitor's logo.
Groupgroup_idtext
The group the exhibitor belongs to.

Outputs

dataobject
The response from Swapcard.
Example output
{
  "data": {
    "exhibitor": {
      "clientIds": [
        "example"
      ],
      "createdAt": "example",
      "description": "example",
      "email": "example",
      "id": "example",
      "logoUrl": "example",
      "name": "example",
      "totalMembers": 1,
      "type": "example",
      "updatedAt": "example",
      "websiteUrl": "example"
    }
  }
}

On this page