Skip to main content
Query

selfServiceContact

Returns the contact details behind a crew member's self-service link, so they can review and update them. No sign-in needed: the link's token is the credential and gives access to that one contact only. Returns null when the link is invalid, expired or revoked.

Arguments

  • spaceIdID!

    The space ID from the self-service link.

  • tokenString!

    The secret token from the self-service link.

Returns

SelfServiceContact

Example

query SelfServiceContact($spaceId: ID!, $token: String!) {
  selfServiceContact(spaceId: $spaceId, token: $token) {
    city
    countryCode
    email
    emergencyFirstName
    emergencyLastName
    emergencyPhone
    firstName
    foodPreferences
  }
}