API USAGE

createAttendee

Arguments

gatheringId: (Int!)
attendee: (AttendeeParams)
GraphQL Mutation
mutation {
  updateAttendee(attendee: {firstName: "David Foster", lastName: "Wallace" }, gatheringId: 232, id: 71111) {
    firstName
    lastName
    id
  }
}
CURL Request
curl -X POST https://cms.gatherdigital.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

When creating an attendee firstName and lastName are required.

firstName (String) Attendee first name. Displayed if present.
lastName (String) Attendee last name. Displayed if present.
prefix_name (String) Attendee honorific (Mr., Ms., Dr.). Displayed if present.
login_email (String) Email used to login. Not displayed.
organization (String) Attendee organization or company. Displayed if present.
job_title (String) Attendee organization or company. Displayed if present.
email (String) Attendee email. Displayed if present. Not related to the login email.
telephone (String) Attendee preferred telephone number. Displayed if present.
website (String) Attendee URL. Displayed if present.
twitterHandle (String) Attendee Twitter handle. @ is optional. Displayed if present.
facebookUsername (String) Attendee Facebook username. Not a URL. Displayed if present.
linkedInUrl (String) Attendee LinkedIn URL. Displayed if present.
street (String) Attendee Street (3722 Maplehurst Drive). Displayed if present.
street2 (String) Attendee Street - supplemental (e.g., Suite 181). Displayed if present.
city (String) Attendee last name. Displayed if present.
state (String) Attendee's state or province. Displayed if present.
postalCode (String) Attendee's Postal or ZIP code. Displayed if present.
country (String) Attendee's country. Displayed if present.
badgeCode (String) The code on an Attendee badge that will be scanned to retrieve sales lead information. Not displayed.
leadEmail (String) The email address that will be supplied to a person scanning an attendee badge to retrieve sales lead information. Not displayed.
leadAddress (String) The complete geographic address that will be supplied to a person scanning an attendee badge to retrieve sales lead information. Not displayed.
leadPhone (String) The telephone number that will be supplied to a person scanning an attendee badge to retrieve sales lead information. Not displayed.
biographyHtml (String) Attendee biography in HTML format. Distinct from BiographyText. Displayed if present. Not editable by attendee.
biographyText (String) Attendee biography in text format. Distinct from BiographyHtml. Displayed if present. Editable by attendee.
photo_url (String) A URL that links directly to an attendee photo or avatar file (.jpg or .png format). Displayed if present.
external_id (String) The unqiue ID of the attendee from it\'s source (i.e., the attendee id in your system). Not displayed.
external_id (String) The unqiue ID of the attendee from it\'s source (i.e., the attendee id in your system). Not displayed.
external_source (String) External data source of the attendee. If you have created this attendee in the Gather Digital system, Gather Digital will define the external_source. Not displayed.