Arguments
gatheringId is an Int.
gatheringId is non-null.
attendee is an AttendeeParams object.
Full parameters are described in the AttendeeParams section.
GraphQL Mutation
mutation {
createAttendee(attendee: {firstName: "David Foster", lastName: "Wallace" }, gatheringId: 232) {
firstName
lastName
id
}
}
CURL Request
curl -X POST https://api.certaintouchpoint.com/graphql -H 'Content-Type: application/graphql' -H 'Authorization: Bearer 123abcveryLongAuthorizationToken456def' -d '{ mutation { createAttendee(attendee: { firstName: "David Foster", lastName: "Wallace"}, gatheringId: 232) { firstName lastName id } }'
GraphQL Response
{ "data":
{ "createAttendee":
{ "lastName": "Wallace",
"id": "71111",
"firstName": "David Foster"
}
}
}
AttendeeParams
AttendeeParams is the input object containing attendee details.
firstName is a String. Attendee first name. Displayed if present.
lastName is a String. Attendee last name. Displayed if present.
prefix_name is a String. Attendee honorific (Mr., Ms., Dr.). Displayed if present.
login_email is a String. Email used to login. Not displayed.
organization is a String. Attendee organization or company. Displayed if present.
job_title is a String. Attendee organization or company. Displayed if present.
email is a String. Attendee email. Displayed if present. Not related to the login email.
participantTypes is an Array of Strings. To add one or more pariticpant types, provide an array of strings containing those participant types. Participant Types are used to control access to content.
telephone is a String. Attendee preferred telephone number. Displayed if present.
website is a String. Attendee URL. Displayed if present.
twitterHandle is a String. Attendee Twitter handle. @ is optional. Displayed if present.
facebookUsername is a String. Attendee Facebook username. Not a URL. Displayed if present.
linkedInUrl is a String. Attendee LinkedIn URL. Displayed if present.
street is a String. Attendee Street (3722 Maplehurst Drive). Displayed if present.
street2 is a String. Attendee Street - supplemental (e.g., Suite 181). Displayed if present.
city is a String. Attendee last name. Displayed if present.
state is a String. Attendee's state or province. Displayed if present.
postalCode is a String. Attendee's Postal or ZIP code. Displayed if present.
country is a String. Attendee's country. Displayed if present.
badgeCode is a String. The code on an Attendee badge that will be scanned to retrieve sales lead information. Not displayed.
leadEmail is a String. The email address that will be supplied to a person scanning an attendee badge to retrieve sales lead information. Not displayed.
leadAddress is a String. The complete geographic address that will be supplied to a person scanning an attendee badge to retrieve sales lead information. Not displayed.
leadPhone is a String. The telephone number that will be supplied to a person scanning an attendee badge to retrieve sales lead information. Not displayed.
biographyHtml is a String. Attendee biography in HTML format. Distinct from BiographyText. Displayed if present. Not editable by attendee.
biographyText is a String. Attendee biography in text format. Distinct from BiographyHtml. Displayed if present. Editable by attendee.
hidden is a Boolean. If this boolean is set to true, this attendee will not be visible in the mobile app and cannot participate socially.
externalId is a String. The unique ID of the attendee from its source (i.e., the attendee id in your system). Not displayed.
externalSource is a String. External data source of the attendee. If you have created this attendee in the Touchpoint system, Touchpoint will define the external_source. Not displayed.
Providing a Photo/Avatar photoUrl is a String. If the photo resides at a publicly available URL, you may provide that URL here (.jpg or .png format). The image at that URL will be copied into the Touchpoint system.
photo is a DataUpload. Choose multipart file (preferred) and Base64: To provide the photo as a file, you should use the multipart/form-data content type. For example: curl -X POST https://api.certaintouchpoint.com/graphql -H 'Content-Type: application/graphql' -H 'Authorization: Bearer 123abcveryLongAuthorizationToken456def' -F query='mutation { createAttendee(attendee: { firstName: "David Foster", lastName: "Wallace", photo: "photo_argument"}, gatheringId: 232) { firstName lastName id } }' -F photo_argument=@photo.jpg
photoUrl (String) If the photo resides at a publicly available URL, you may provide that URL here (.jpg or .png format). The image at that URL will be copied into the Touchpoint system.
photo (DataUpload) Choose multipart file (preferred) and Base64: To provide the photo as a file, you should use the multipart/form-data content type. For example: curl -X POST https://api.certaintouchpoint.com/graphql -H 'Content-Type: application/graphql' -H 'Authorization: Bearer 123abcveryLongAuthorizationToken456def' -F query='mutation { createAttendee(attendee: { firstName: "David Foster", lastName: "Wallace", photo: "photo_argument"}, gatheringId: 232) { firstName lastName id } }' -F photo_argument=@photo.jpg
Retrieving Relationships assignedAgendaSessions is a String. Agenda Sessions that have been preregistered for the Attendee.
bookmarksAgendaSessions is a String. Agenda Sessions that have been selected by the Attendee.
checkedInAgendaSessions is a String. Agenda Sessions that the Attendee has checked into.
Creating Relationships assignedAgendaSessionIds is an Array of Ids. The unique ID of the attendee from its source (i.e., the attendee id in your system). Not displayed.
Was this article helpful? 0 out of 0 found this helpful
Have more questions? Submit a request
Related articles Attendees Query updateAttendee Checkin Query createExhibitor Gatherings Query ```
Related articles
- Attendees Query
- updateAttendee
- Checkin Query
- createExhibitor
- Gatherings Query