Mutations
Every mutation takes one input argument and returns a payload. The permissions listed are the ones that allow it, any one of them (see Authentication). When a record fails validation, the error’s extensions carry the field errors (see Errors).
See Core for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
acceptTermsinput: TermsAcceptInput! |
TermsAcceptPayload |
Records that the signed-in user agreed to the terms of use, which forbid objectionable content and abuse. The apps ask before anyone chats. With adult: true it also records that the app confirmed they are 18 or older, and how (ageSource), so the account keeps the app’s age check. requires users:write:self |
blockUserinput: BlockedUserAddInput! |
BlockedUserAddPayload |
Blocks someone: neither sees the other’s chat messages, presence, pings or whereabouts any more. They aren’t told. The audience’s admins are, in the console’s Reports queue. requires users:write:self |
cancelSafetyAlertinput: SafetyAlertCancelInput! |
SafetyAlertCancelPayload |
Cancels your open safety alert: you’re OK now. Staff on shift are told. requires users:write:self |
checkContactsinput: ContactsCheckInput! |
ContactsCheckPayload |
Checks the hashed contacts from the viewer’s phone (ContactMatching: SHA-256 hex of “first|last|+E164”, one per number; contacts without a first and last name left out) and turns matching on. Replaces their last check. Once a day. requires users:write:self |
consentToTribesinput: TribesConsentGiveInput! |
TribesConsentGivePayload |
Records that the signed-in user agreed to this audience keeping the tribes they pick. A tribe can say something about health or sexuality, so the apps ask once, before the first pick, saying who will see it. Agreeing again keeps the first time. requires users:write:self |
createCalendarFeedinput: CalendarFeedCreateInput! |
CalendarFeedCreatePayload |
The signed-in user’s calendar subscription link in this audience , made on first ask. reset gives it a new secret, so the old link stops working. requires users:write:self |
deleteAccountinput: AccountDeleteInput! |
AccountDeletePayload |
Deletes the signed-in user’s account in this audience: their membership and everything they did here (see AudienceMemberEraser), and signs them out of this audience’s apps. Their accounts in other audiences stay; when this was their last one, the whole account goes (UserDataEraser). It can’t be undone. requires users:write:self |
deleteCalendarFeedinput: CalendarFeedDeleteInput! |
CalendarFeedDeletePayload |
Ends the signed-in user’s calendar subscription link in this audience: calendar apps subscribed to it stop getting updates. requires users:write:self |
disableContactMatchinginput: ContactMatchingDisableInput! |
ContactMatchingDisablePayload |
Turns contact matching off: deletes their number, match name and every code, at once, and withdraws requests they sent that nobody answered. Friends they made stay. requires users:write:self |
identifyWithTribeinput: TribeIdentifyInput! |
TribeIdentifyPayload |
Identifies the signed-in user with one of the audience’s tribes, or changes whether that’s private. Private is the default: only people in the same tribe see it, and it is always private unless audience.publicTribes is on. Refused past audience.tribeCap tribes. requires users:write:self |
leaveTribeinput: TribeLeaveInput! |
TribeLeavePayload |
Removes the signed-in user from one of the tribes they identify with. Nothing is kept. requires users:write:self |
printSafetyPosterinput: SafetyPosterPrintInput! |
SafetyPosterPrintPayload |
Gets the safety poster code for a venue the caller manages, making one the first time, as issueSafetyPoster does on the staff endpoint. replace: true retires the code on every poster printed before. FORBIDDEN for anyone who does not manage the venue. requires users:write:self |
recordAgeCheckPurchaseinput: AgeCheckPurchaseRecordInput! |
AgeCheckPurchaseRecordPayload |
Records the one-time age check purchase: StoreKit’s signed transaction (Transaction.jwsRepresentation) on iOS, or Play Billing’s purchase token and product ID on Android. Buy it with the member’s ID as the account token (appAccountToken / obfuscatedAccountId). The API checks it with the store; afterwards the check is READY to start. requires users:write:self |
recordCardViewsinput: CardViewsRecordInput! |
CardViewsRecordPayload |
Records that promoted cards were on screen. Send only the cards actually shown. requires users:write:self |
refreshAgeCheckinput: AgeCheckRefreshInput! |
AgeCheckRefreshPayload |
Asks the age check company how the check they are waiting on went, for an app that came back from the check before the company’s own answer arrived. requires users:write:self |
registerDeviceinput: DeviceRegisterInput! |
DeviceRegisterPayload |
Stores the push notification token for the device this session signed in on. requires users:write:self |
remindSafetyAlertinput: SafetyAlertRemindInput! |
SafetyAlertRemindPayload |
Sends your open safety alert again: staff on shift hear it again, and the venue’s managers too. At most every 30 seconds. requires users:write:self |
reportContentinput: ContentReportInput! |
ContentReportPayload |
Reports a message, person, venue, ping, photo, post or comment to the audience’s admins, who see it in the console’s Reports queue at once. Optionally blocks the person responsible, when there is one: a message’s sender (not for posts as the venue or a person), the person themself, a ping’s sender, a comment’s author. requires users:write:self |
reportLocationinput: LocationReportInput! |
LocationReportPayload |
Records the user’s position and returns the venue they’re in, or what’s near them. requires users:write:self |
reportStoreCountryinput: StoreCountryReportInput! |
StoreCountryReportPayload |
Tells the API which country the signed-in user’s app store is in (StoreKit’s Storefront.countryCode, Play Billing’s BillingConfig.countryCode), so it knows whether they need proof of age (the United Kingdom and Australia). Send it at sign-in. A country that needs one sticks; reporting another later changes nothing. requires users:write:self |
reportVenueOpeninput: VenueOpenReportInput! |
VenueOpenReportPayload |
Says a venue reported closed is still open. A reviewer decides; the venue is back in tonight’s views sooner when enough people (or its staff) say so. requires users:write:self |
respondToFriendRequestinput: FriendRequestRespondInput! |
FriendRequestRespondPayload |
Answers a friend request someone sent the viewer. Accepting makes them friends and tells the sender; “Not now” hides it and tells nobody. requires users:write:self |
respondToPersonaInviteinput: PersonaInviteRespondInput! |
PersonaInviteRespondPayload |
Accepts or declines your invite into a persona. requires users:write:self |
saveReviewinput: ReviewSaveInput! |
ReviewSavePayload |
Writes or changes your review of a film, a show or an event; publish: true publishes it. requires users:write:self |
sendFriendRequestinput: FriendRequestSendInput! |
FriendRequestSendPayload |
Asks someone contact matching found to be friends, and pushes them. Asking someone who already asked the viewer accepts their request. requires users:write:self |
sendPrivateChatMessageinput: PrivateChatMessageSendInput! |
PrivateChatMessageSendPayload |
Says something in a Ping or Quickie chat you’re in. Everyone else in it hears it on Subscription.privateChat; nobody hears what was said once the chat closes. requires users:write:self |
sendSafetyAlertinput: SafetyAlertSendInput! |
SafetyAlertSendPayload |
Tells the staff on shift at the venue you’re at that you feel unsafe (only while the app places you there). Where you are and what is going on are optional; send it first and add them after (updateSafetyAlert). While your alert there is open, sending again adds to it. requires users:write:self |
sendSafetyAlertMessageinput: SafetyAlertMessageSendInput! |
SafetyAlertMessageSendPayload |
Sends a message in a safety alert’s private thread: from the guest who sent it while it is open, or from staff at its venue. Never shown in venue chat. requires users:write:self or chat:moderate:mine or chat:moderate:venue or audience:moderate:* |
setCalendarFeedVenueinput: CalendarFeedVenueSetInput! |
CalendarFeedVenueSetPayload |
Follows a venue in the signed-in user’s calendar subscription , so every event there is in it, or stops following it. Makes the subscription on first ask. requires users:write:self |
setChatInitialsinput: ChatInitialsSetInput! |
ChatInitialsSetPayload |
Shows the signed-in user’s initials in chat rooms instead of their photo, or their photo again. requires users:write:self |
setContactMatchNameinput: ContactMatchNameSetInput! |
ContactMatchNameSetPayload |
Changes the first and last name friends match the viewer on. Their own codes follow at once. requires users:write:self |
setPairUpPushinput: PairUpPushSetInput! |
PairUpPushSetPayload |
Turns Quickie pushes on or off for the signed-in user: when they are paired, revealed or met, and invites to join when someone at the venue they are at wants a Quickie. On until they turn it off. The app still shows Quickie while it is open. requires users:write:self |
setRecentChatPushinput: RecentChatPushSetInput! |
RecentChatPushSetPayload |
Turns on or off pushes about new messages in chat rooms the signed-in user left in the last 30 minutes (at most one every 10 minutes per room). Off until they turn it on. requires users:write:self |
setShowAtVenuesinput: ShowAtVenuesSetInput! |
ShowAtVenuesSetPayload |
Turns “Show me at venues” on or off for the signed-in user. Off takes effect at once: nobody sees which venue they are at or whether they are in a chat room, and they stop seeing that about everyone else too. On takes effect 14 days after they ask (showsAtVenuesAt), and turning it off again before then cancels the ask. Asking twice in six months files a report for the audience’s admins. requires users:write:self |
setTribesinput: TribeSetInput! |
TribeSetPayload |
Replaces the signed-in user’s tribes here with these, for the picker’s Done. Tribes they keep keep their privacy; new ones are private. Refused, changing nothing, past audience.tribeCap tribes. requires users:write:self |
showMeInCreditsinput: ShowMeInCreditsInput! |
ShowMeInCreditsPayload |
Shows you in the credits of what your accepted suggestion added or changed, or stops showing you. requires users:write:self |
startAgeCheckinput: AgeCheckStartInput! |
AgeCheckStartPayload |
Opens an age check and answers where to send them. With no method, or DOCUMENT, it is the check they paid for; CARD is the free credit card check and needs no purchase. url is its hosted page (open it in an in-app browser), and clientSecret opens the same session in the company’s own mobile SDK where the app has it. The answer arrives on its own; read me.ageCheck again, or call refreshAgeCheck when they come back. requires users:write:self |
startContactPhoneVerificationinput: ContactPhoneVerificationStartInput! |
ContactPhoneVerificationStartPayload |
Saves the name friends will match the viewer on and texts a six-digit code to their mobile number (verifyContactPhone). Up to five codes a day, 30 seconds apart. requires users:write:self |
startPrivacyPassinput: PrivacyPassStartInput! |
PrivacyPassStartPayload |
Starts paying for a privacy pass: no paid cards and every optional use of their data off, for the audience’s privacy pass days. Returns a Checkout page to open in the browser. Nothing renews. requires users:write:self |
submitContributioninput: ContributionSubmitInput! |
ContributionSubmitPayload |
Suggests a missing venue or event, a correction, a closure, a tag or a performer for the audience’s listings. A reviewer decides; nothing changes until they approve. Local rules are corrected with submitLocalRulesCorrection, by venue staff. requires users:write:self |
unblockUserinput: BlockedUserRemoveInput! |
BlockedUserRemovePayload |
Unblocks someone the signed-in user blocked. requires users:write:self |
updatePrivacyChoicesinput: PrivacyChoicesUpdateInput! |
PrivacyChoicesUpdatePayload |
Sets the signed-in member’s privacy choices in this audience. Arguments left out stay as they are. requires users:write:self |
updateSafetyAlertinput: SafetyAlertUpdateInput! |
SafetyAlertUpdatePayload |
Adds where you are and what is going on to your open safety alert. Concerns add to the ones you picked; left-out arguments keep what you said. requires users:write:self |
verifyContactPhoneinput: ContactPhoneVerifyInput! |
ContactPhoneVerifyPayload |
Checks the code startContactPhoneVerification texted. Right, the number is theirs: it moves off any other account that had it. Five tries per code. requires users:write:self |
withdrawTribesConsentinput: TribesConsentWithdrawInput! |
TribesConsentWithdrawPayload |
Takes back the signed-in user’s agreement to this audience keeping their tribes, and deletes every tribe they picked here. Nothing is kept. Their tribes in other audiences are not touched. requires users:write:self |
See Chat for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
removeMyChatMessageinput: ChatMessageRemoveOwnInput! |
ChatMessageRemoveOwnPayload |
Removes one of your own messages from its chat room. Everyone in the room stops seeing it at once. requires chat:write:self |
reportChatMessageinput: ChatMessageReportInput! |
ChatMessageReportPayload |
Reports a message in a venue’s or locale’s chat room to the audience’s admins, who see it in the console’s Reports queue at once and can remove it or ban the sender. Optionally blocks the sender too. A post as the venue or as a person can be reported like any other; blocking ignores it, since a listing has no sender to block. Same as reportContent with MESSAGE. requires chat:write:self |
sendMyChatMessageinput: ChatMessageSendOwnInput! |
ChatMessageSendOwnPayload |
Says something in a chat room as yourself. The message reaches everyone following the room at once. requires chat:write:self or chat:write:venue |
See Cover for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
buyCoatCheckinput: CoatCheckBuyInput! |
CoatCheckBuyPayload |
Starts paying coat check at a venue tonight through the venue’s payment provider. Asking again the same night returns the same pending or paid coat check pass. requires cover:write:self |
buyCoverinput: CoverBuyInput! |
CoverBuyPayload |
Starts paying tonight’s cover at a venue, through the venue’s provider. Stripe: finish the payment with Stripe’s payment sheet (paymentIntentClientSecret, on the venue’s account stripeAccountId, with publishableKey), then call confirmCover. Square: make a payment token with Square’s In-App Payments SDK (squareApplicationId, squareLocationId), then call payCover with it. Asking again the same night returns the same pass. requires cover:write:self |
claimGuestPurchasesinput: GuestPurchasesClaimInput! |
GuestPurchasesClaimPayload |
Attaches covers and tips bought in the App Clip before signing in to the signed-in member, by the claim tokens the clip got when it started them (POST /v1/clip/covers and /v1/clip/tips). Each token works once, in its own audience. A cover is left unclaimed when they already hold one at that venue that night. requires cover:write:self or tipping:write:self |
confirmCoverinput: CoverConfirmInput! |
CoverConfirmPayload |
Checks a cover payment with its provider after the app finishes paying, so the pass works before the webhook arrives. requires cover:write:self |
payCoverinput: CoverPayInput! |
CoverPayPayload |
Pays a Square venue’s cover with a payment token from Square’s In-App Payments SDK (a card, Apple Pay or Google Pay), after buyCover. The pass works as soon as this returns it paid. requires cover:write:self |
refundAdmissioninput: AdmissionRefundInput! |
AdmissionRefundPayload |
Refunds a cover. Buyers can refund their own until it’s scanned at the door or the night is over; the venue’s door staff and the audience’s admins can refund any paid cover. requires cover:write:self or cover:write:door |
Pair up
Section titled “Pair up”See Pair up for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
acceptPairUpinput: PairUpAcceptInput! |
PairUpAcceptPayload |
Accepts your pairing’s topic. Once both of you accept, each sees who to look for. requires pair_up:write:self |
cancelPairUpinput: PairUpCancelInput! |
PairUpCancelPayload |
Cancels a pairing at any point: neither of you sees the other from then on. Cancelling your pairing takes you out of Quickie for tonight (your partner looks for someone new); a bonus topic just ends. requires pair_up:write:self |
joinPairUpinput: PairUpJoinInput! |
PairUpJoinPayload |
Opts in to Quickie at a venue for tonight (only while the app places you there), or changes the hint your partner sees. After a meeting, looks for someone new. requires pair_up:write:self |
leavePairUpinput: PairUpLeaveInput! |
PairUpLeavePayload |
Leaves Quickie at a venue for tonight, cancelling your pairing if you have one. requires pair_up:write:self |
scanPairUpCodeinput: PairUpCodeScanInput! |
PairUpCodeScanPayload |
Scans a Quickie code. Your partner’s confirms you met (both see You met!); someone else’s gives the two of you a fresh topic instead. Anything else says why, without changing anything. requires pair_up:write:self |
sharePairUpinput: PairUpShareInput! |
PairUpSharePayload |
Agrees to share your meeting in the venue’s chat. Once both of you have, the venue posts your names (first name and last initial) and your topic. requires pair_up:write:self |
showPairUpCodeinput: PairUpCodeShowInput! |
PairUpCodeShowPayload |
A fresh QR code to show your partner once you both accept. It works once, only for them, and replaces the one you showed before. requires pair_up:write:self |
skipPairUpinput: PairUpSkipInput! |
PairUpSkipPayload |
Skips the topic for a new one (both accept again), or the partner: both look for someone new and aren’t paired together again tonight. requires pair_up:write:self |
People
Section titled “People”See People for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
removePersonaMemberinput: PersonaMemberRemoveInput! |
PersonaMemberRemovePayload |
Takes someone out of a persona; members can take themselves out. requires people:write:* or people:write:mine or users:write:self |
setReadinessinput: ReadinessSetInput! |
ReadinessSetPayload |
Says who is ready for a curtain call: the venue, a performer or someone on the support staff. The show runs on GO (advanceLineup waits for it unless forced). requires people:write:mine or people:write:my_troupes or events:write:venue or users:write:self |
updateLineupTaskinput: LineupTaskUpdateInput! |
LineupTaskUpdatePayload |
Ticks, unticks, removes, puts back or rewords a lineup entry’s task. Fields left out aren’t changed. Anyone working the show ticks; whoever may change the lineup removes, puts back and rewords (only an entry’s own task has words of its own). requires people:write:mine or people:write:my_troupes or events:write:venue or users:write:self |
Photography
Section titled “Photography”See Photography for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
reportEventPhotoinput: EventPhotoReportInput! |
EventPhotoReportPayload |
Reports a photographer’s photo, for example a photo of yourself you want taken down. It’s hidden at once, until the audience’s admins look at it in the console’s Reports queue; the photographer sees it was reported. reportContent with PHOTO does the same. requires photography:write:self |
See Ping for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
endPinginput: PingEndInput! |
PingEndPayload |
Ends the signed-in user’s ping. requires ping:write:self |
joinPinginput: PingJoinInput! |
PingJoinPayload |
Says the signed-in user is in for a ping, for one pick or (with no target) the whole ping. requires ping:write:self |
leavePinginput: PingLeaveInput! |
PingLeavePayload |
Takes the signed-in user out of a ping they’re in. requires ping:write:self |
sendPinginput: PingSendInput! |
PingSendPayload |
Tells friends the signed-in user wants to go out tonight, naming venues or events, or neither. requires ping:write:self |
See Posts for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
addEventPhotoinput: EventPhotoTakeInput! |
EventPhotoTakePayload |
Adds a photo taken with the app’s camera at a venue (only while the app places you there): it’s marked AMATEUR, credited to you, put on the event under way there, and tagged with whoever is on stage, so it shows on the venue’s, the event’s and their pages (IPosts.photos). requires posts:write:self |
createPostCommentinput: PostCommentCreateInput! |
PostCommentCreatePayload |
Comments on a venue’s or a person’s post, as the signed-in user. Someone banned from the venue’s chat can’t, and nobody can once its comments are closed. requires posts:write:self |
mutePostAuthorinput: PostAuthorMuteInput! |
PostAuthorMutePayload |
Hides a venue’s or a person’s posts from the signed-in user, or shows them again. Name exactly one of venueId and personId. requires posts:write:self |
removeEventPhotoinput: EventPhotoRemoveInput! |
EventPhotoRemovePayload |
Removes a photo you took with the app’s camera (addEventPhoto), from every page it was on. requires posts:write:self |
removePostCommentinput: PostCommentRemoveInput! |
PostCommentRemovePayload |
Removes a comment on a post: its author’s own, or any on a post for whoever manages its poster (the venue’s managers, the talent listing’s) and admins. requires posts:write:self or posts:moderate:mine |
Requests
Section titled “Requests”See Requests for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
requestSonginput: SongRequestCreateInput! |
SongRequestCreatePayload |
Asks for a song, or signs up to sing one, in a venue’s chat room. Everyone in the room sees the REQUEST line, and the host finds it in the queue. Refused while the venue is not taking requests of that kind (see Venue.requests for why). requires requests:write:self |
withdrawSongRequestinput: SongRequestWithdrawInput! |
SongRequestWithdrawPayload |
Takes back a song request or karaoke signup of yours that is still waiting. Its chat line shows it withdrawn. requires requests:write:self |
See Rsvp for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
cancelRsvpinput: RSVPCancelInput! |
RSVPCancelPayload |
Takes back the user’s RSVP to an event, as if they’d never answered (UNSURE). Someone holding a ticket to it is still going: refund the ticket to stop going. requires rsvp:write:self |
rsvpEventinput: EventRSVPInput! |
EventRSVPPayload |
Sets the user’s RSVP to an event in AudienceKit. It isn’t sent to Facebook, which no longer lets apps RSVP for people. A ticket holder stays going whatever they answer. requires rsvp:write:self |
Soapbox
Section titled “Soapbox”See Soapbox for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
mutePublicationPushesinput: PublicationPushesMuteInput! |
PublicationPushesMutePayload |
Turns a publication’s locale pushes off for the signed-in reader, or back on. Its articles still show in their locale news and on its page. requires soapbox:write:self |
submitOpEdinput: OpEdSubmitInput! |
OpEdSubmitPayload |
Sends a publication an op-ed from the apps, under the signed-in reader’s name. The publication takes it (then edits and publishes it, bylined to the writer) or declines it with a note; Audience.soapbox.myOpEds shows where each stands . requires soapbox:write:self |
Tipping
Section titled “Tipping”See Tipping for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
confirmTipinput: TipConfirmInput! |
TipConfirmPayload |
Checks a tip payment with its provider after the app finishes paying, before the webhook arrives. requires tipping:write:self |
payTipinput: TipPayInput! |
TipPayPayload |
Pays a tip to a performer who takes Square with a payment token from Square’s In-App Payments SDK (a card, Apple Pay or Google Pay), after startTip. requires tipping:write:self |
startTipinput: TipStartInput! |
TipStartPayload |
Starts tipping a performer in the app, through their own Stripe or Square account (the IN_APP option of their tipping mixin). Stripe: finish with Stripe’s payment sheet (paymentIntentClientSecret, on their account stripeAccountId, with publishableKey), then call confirmTip. Square: make a payment token with Square’s In-App Payments SDK (squareApplicationId, squareLocationId), then call payTip with it. Asking again for the same amount soon after returns the same tip. A tip to a Soapbox publication (publicationId) can read it without ads, so it is paid on the web instead: open checkoutUrl in the browser (US storefronts only), then call confirmTip when the reader comes back. requires tipping:write:self |
Trivia
Section titled “Trivia”See Trivia for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
voteTriviainput: TriviaVoteCastInput! |
TriviaVoteCastPayload |
Votes in a trivia round: someone at the venue picks a choice (changing it is fine while voting is open). Only counts are shown; nobody is named or scored. requires trivia:write:self |