Swapcard
App · 17 actions
Manage Swapcard events: attendees, speakers, sessions, exhibitors and groups.
Actions
| Action | What it does |
|---|---|
| Add a person | Add a person to an event, such as an attendee or a speaker. |
| Add an exhibitor | Add an exhibitor to an event. |
| Create a group | Create a group in an event, to give people or exhibitors the same access. |
| Create a session | Add a session to an event's agenda. |
| Delete a session | Delete a session from an event's agenda. |
| Delete an exhibitor | Delete an exhibitor from Swapcard, in every event of the community. |
| Get a person | Get one person of an event by their id. |
| Get an event | Get an event's dates, address, language, totals and community. |
| List events | List the events the key can see. |
| List exhibitors | List an event's exhibitors. |
| List groups | List an event's groups (such as attendees, speakers, exhibitors) with how many are in each. |
| List people | List the people (attendees, speakers and others) of an event, with search and filters. |
| List sessions | List the sessions of an event's agenda. |
| Remove a person | Remove a person from an event. |
| Update a person | Change a person's details. |
| Update a session | Change a session. |
| Update an exhibitor | Change an exhibitor's details. |
Add a person
Add a person to an event, such as an attendee or a speaker.
Inputs
- Event
event_idtextRequired - The Swapcard event.
- Email
emailtext - Their email address, unique in the community. It can't be changed later.
- First name
first_nametextRequired - The person's first name.
- Last name
last_nametextRequired - The person's last name.
- Job title
job_titletext - Their job title.
- Organization
organizationtext - Their organization.
- Photo URL
photo_urltext - A public link to their photo.
- Website URL
website_urltext - Their website.
- Biography
biographytext - A short biography.
- Mobile phone
mobile_phonetext - Their mobile number.
- Visible
is_visibletrue/false - Show them in the event's attendee list.
- Can sign in
is_usertrue/false - Create an account they can sign in with (needs an email address). Off adds a profile only.
- Groups
group_idslist - Groups to put them in.
- Your ID
client_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
- Event
event_idtextRequired - The Swapcard event.
- Name
nametextRequired - The exhibitor's name.
- Description
descriptiontext - What the exhibitor does.
- Email
emailtext - The exhibitor's contact email address.
- Website URL
website_urltext - The exhibitor's website.
- Logo URL
logo_urltext - A public link to the exhibitor's logo.
- Group
group_idtext - The group the exhibitor belongs to.
- Your ID
client_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
- Event
event_idtextRequired - The Swapcard event.
- Name
nametextRequired - 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
- Event
event_idtextRequired - The Swapcard event.
- Title
titletextRequired - The session's title.
- Description
descriptiontext - What the session is about.
- Starts at
begins_atdate and time - When the session starts.
- Ends at
ends_atdate and time - When the session ends.
- Max seats
max_seatsnumber - How many people can register.At least 0.
- Private
is_privatetrue/false - Only invited people see the session.
- Hide attendees
hide_attendeestrue/false - Hide who's attending.
- Banner URL
banner_urltext - A public link to the session's banner image.
- Exhibitors
exhibitor_idslist - Exhibitors linked to the session.
- Language
languagetext - 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
- Event
event_idtextRequired - The Swapcard event.
- Session
session_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
- Event
event_idtextRequired - The Swapcard event.
- Exhibitor
exhibitor_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
- Event
event_idtextRequired - The Swapcard event.
- Person ID
person_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
- Event
event_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
- When
time_statustext - Only upcoming, ongoing or past events.One of:
UPCOMING,ON_GOING(On going),PAST. - Slug
slugtext - Only the event with this slug: the event's name as its web address shows it.
- Page
pagenumber - Which page to get, from 1.At least 1.
- Page size
page_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
- Event
event_idtextRequired - The Swapcard event.
- Search
searchtext - Text to find in the exhibitors.
- Updated since
updated_sincedate and time - Only exhibitors changed since this time.
- Sort by
sort_bytext - What to sort by.One of:
NAME,CREATED_AT(Created at),UPDATED_AT(Updated at). - Sort order
sort_ordertext - Which way to sort.One of:
ASC,DESC. - Page size
page_sizenumber - How many exhibitors to get, up to 200.From 1 to 200.
- After cursor
aftertext - 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
- Event
event_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
- Event
event_idtextRequired - The Swapcard event.
- Search
searchtext - Text to find in people's names and details.
- Emails
emailslist - Only people with these email addresses.
- Groups
group_idslist - Only people in these groups.
- Updated since
updated_sincedate and time - Only people changed since this time.
- Sort by
sort_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 order
sort_ordertext - Which way to sort.One of:
ASC,DESC. - Page size
page_sizenumber - How many people to get, up to 200.From 1 to 200.
- After cursor
aftertext - 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
- Event
event_idtextRequired - The Swapcard event.
- Search
searchtext - Text to find in the sessions.
- Updated since
updated_sincedate and time - Only sessions changed since this time.
- Sort by
sort_bytext - What to sort by.One of:
BEGINS_AT(Begins at),CREATED_AT(Created at),ENDS_AT(Ends at),TITLE,PLACE,TYPE. - Sort order
sort_ordertext - Which way to sort.One of:
ASC,DESC. - Page size
page_sizenumber - How many sessions to get, up to 200.From 1 to 200.
- After cursor
aftertext - 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
- Event
event_idtextRequired - The Swapcard event.
- Person ID
person_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 ID
person_idtextRequired - The person's id in the event (an event person id).
- Email
emailtext - Their email address.
- First name
first_nametext - The person's first name.
- Last name
last_nametext - The person's last name.
- Job title
job_titletext - Their job title.
- Organization
organizationtext - Their organization.
- Photo URL
photo_urltext - A public link to their photo.
- Website URL
website_urltext - Their website.
- Biography
biographytext - A short biography.
- Mobile phone
mobile_phonetext - Their mobile number.
- Visible
is_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
- Event
event_idtextRequired - The Swapcard event.
- Session
session_idtextRequired - The session.
- Title
titletext - The session's title.
- Description
descriptiontext - What the session is about.
- Starts at
begins_atdate and time - When the session starts.
- Ends at
ends_atdate and time - When the session ends.
- Max seats
max_seatsnumber - How many people can register.At least 0.
- Private
is_privatetrue/false - Only invited people see the session.
- Hide attendees
hide_attendeestrue/false - Hide who's attending.
- Banner URL
banner_urltext - A public link to the session's banner image.
- Exhibitors
exhibitor_idslist - Exhibitors linked to the session.
- Language
languagetext - 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
- Event
event_idtextRequired - The Swapcard event.
- Exhibitor
exhibitor_idtextRequired - The exhibitor.
- Name
nametext - The exhibitor's name.
- Description
descriptiontext - What the exhibitor does.
- Email
emailtext - The exhibitor's contact email address.
- Website URL
website_urltext - The exhibitor's website.
- Logo URL
logo_urltext - A public link to the exhibitor's logo.
- Group
group_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"
}
}
}