A speaker is a person who presents at an event (gathering in the schema, selected with gatheringId). The Speaker type holds the profile of the speaker.
To put a speaker in an agenda session, send the id of the speaker in the speakers field of the session. See Agenda sessions.
List the speakers
speakers takes only gatheringId. It has no filters. The list includes hidden speakers. A hidden speaker has hidden set to true.
query ListSpeakers($gatheringId: ID!) {
speakers(gatheringId: $gatheringId) {
id
firstName
lastName
jobTitle
organization
kind
photo(style: "three_x")
}
}
{
"data": {
"speakers": [
{
"id": "301",
"firstName": "Avery",
"lastName": "Stone",
"jobTitle": "Chief engineer",
"organization": "Example Corp",
"kind": "Keynote",
"photo": "https://example.com/speaker_images/301/three_x.png"
}
]
}
}
Photos
The photo field returns the address of the photo of the speaker. The photoUrl field is deprecated. Use photo.
photo takes the argument style. If you do not send style, the value is original. If the speaker has no photo, the field is null. An unknown style returns the error invalid style.
| Style | Size |
|---|---|
original |
The uploaded photo, scaled down to fit in 600 by 600 pixels. |
three_x |
225 by 225 pixels at most, as a PNG file. |
high_res_circle |
150 by 150 pixels, cut to a circle, as a PNG file. |
This article is a copy of Speakers in the Touchpoint API documentation.
Comments
0 comments
Please sign in to leave a comment.