Evolus Rewards API Reference

The Evolus Reward API uses GraphQL to retrieve and manipulate data. You will need a few things to get up and running:

  1. Your Client ID and Client Secret

  2. The GraphQL Endpoint

  3. An Access Token from the auth query

API Endpoints
# Staging:
https://4xjn5ui0hj.execute-api.us-east-1.amazonaws.com/staging/graphql
Headers
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Client Secret And Client ID

Your Client ID and Client Secret will be provided to you separately from this document. You will also be provided with an Account ID and Facility ID that you may use to begin testing the API.

The GraphQL Endpoint

The GraphQL Endpoint URL below will allow you to access the API as well as the GraphQL playground where you can test all queries, mutations, inputs, and outputs that are required to interact with the Evolus Rewards API:

https://4xjn5ui0hj.execute-api.us-east-1.amazonaws.com/staging/graphql

Note: When your integration is production ready, you will be provided with a new endpoint specifically for production.

Access Token

You can generate an access token by executing the auth query using your Client Id and Client Secret. If you are using the GraphQL playground add these to the "QUERY VARIABLES" section:

QUERY VARIABLES

{ 
   "input ": { 
     "clientId ":  "YOUR_CLIENT_ID ", 
     "clientSecret ":  "YOUR_CLIENT_SECRET ", 
     "grantType ":  "client_credentials ", 
     "scope ": null 
  }
}

All other queries and mutations will require an Authorization header using the accessToken from the auth query response.

If you are using the GraphQL Playground add your headers in the "HTTP HEADERS" section:

HTTP HEADERS

{ 
   "Authorization ":  "Bearer YOUR_ACCESS_TOKEN_HERE"
}

The Rewards API Check In Flow

This section is intended to help you understand the general flow on the check in process and the required queries and mutations.

1. Lookup Account

Check the Account with the getAccountOptInDetails query to make sure it's eligible for Evolus Rewards.

  • If status = ACTIVE => proceed to Step 2 - Lookup Profile
  • If status = INACTIVE => the account is not eligible for Evolus Rewards

2. Lookup Profile

Check the status of the consumer's profile using the getProfileStatus query.

3. Lookup Reward

After the user has completed their profile or if they have an existing completed profile call the getActiveReward query to get the status of the consumers active reward.

  • If eligibilityStatus is EXPIRED => consumer's reward is expired, call the createReward mutation to make a new reward.
  • If eligibilityStatus is EXPIRED_IN_GRACE_PERIOD => proceed to Step 4 - Lookup Injector
  • If eligibilityStatus is NOT_YET_ACTIVE => consumer's reward is not available yet, cannot check in consumer
  • If eligibilityStatus is ELIGIBLE => proceed to Step 4 - Lookup Injector

4. Lookup Injector

Call the getInjectors query to determine if a facility has injector specialists linked to their account and display the list to the user.

5. Check In

Create a new check in using checkIn mutation, and conditionally store the injector that is responsible for the consumer's treatment.

  • If an injector was selected/created => create check in with injector, and proceed to Step 6 - Send Secret
  • If an injector was not selected/created => create check in without injector, and proceed to Step 6 - Send Secret

6. Send Secret

Send the consumer a secret phrase using the sendSecret mutation. The secret phrase will be verified during Step 7 - Redeem Reward.

  • If consumer not isBlackListed
    • AND if enrollment method is SMS sendSecret with deliveryMethod = SMS
    • AND if enrollment method is EMAIL sendSecret with deliveryMethod = EMAIL
  • If consumer isBlackListed, sendSecret with deliveryMethod = TEXT_TO_VOICE

7. Redeem Reward

Validate the secret phrase and finalize the check in process using the redeemReward mutation.

  • If consumer does not successfully answer the secret phrase => allow guessing 3 total times max
  • If consumer does not successfully answer the secret phrase, and exceeds 3 max attempts => resend secret phase with sendSecret mutation.
  • If consumer successfully answers the secret phrase => check in complete

Useful Information & Assistance

You may find the following links useful:

Any questions can be directed to:

Queries

auth

Description

Used to get a valid accessToken to send requests to the API. Add your accessToken in an Authorization header when making requests to the API.

Example:
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Response

Returns an OAuthResult!

Arguments
Name Description
input - OAuthRequest!

Example

Query
query Auth($input: OAuthRequest!) {
  auth(input: $input) {
    accessToken
    expiresIn
    tokenType
  }
}
Variables
{"input": OAuthRequest}
Response
{
  "data": {
    "auth": {
      "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
      "expiresIn": 3600,
      "tokenType": "Bearer"
    }
  }
}

getAccountOptInDetails

Description

Used to validate the Account has been opted into Evolus Rewards. Only Account's with the status of ACTIVE will be able to check in a consumer. Additionally it returns details about the account and related facilities.

Response

Returns a GetAccountOptInDetailsResponse

Arguments
Name Description
request - GetAccountOptInDetailsRequest!

Example

Query
query GetAccountOptInDetails($request: GetAccountOptInDetailsRequest!) {
  getAccountOptInDetails(request: $request) {
    accountId
    accountName
    facilities {
      address {
        ...AddressFragment
      }
      facilityId
      name
    }
    status
  }
}
Variables
{"request": GetAccountOptInDetailsRequest}
Response
{
  "data": {
    "getAccountOptInDetails": {
      "accountId": "A-123456",
      "accountName": "xyz789",
      "facilities": [PublicOptedInFacilityInfo],
      "status": "INACTIVE"
    }
  }
}

getActiveReward

Description

Used to lookup a consumer by phone number and return their active reward, if any.

Response

Returns a GetActiveRewardByPhoneResponse

Arguments
Name Description
request - GetActiveRewardByPhoneRequest!

Example

Query
query GetActiveReward($request: GetActiveRewardByPhoneRequest!) {
  getActiveReward(request: $request) {
    promotion {
      amount
      endDate
      startDate
    }
    reward {
      consumerProfileId
      earnedAt
      eligibilityStatus
      eligibleAt
      expiration
      rewardAmount
      status
    }
  }
}
Variables
{"request": GetActiveRewardByPhoneRequest}
Response
{
  "data": {
    "getActiveReward": {
      "promotion": ConsumerCheckInPromotion,
      "reward": ConsumerReward
    }
  }
}

getInjectors

Description

Returns a list of injector specialists who provide the treatments at a Facility.

Response

Returns a GetInjectorsResponse

Arguments
Name Description
request - GetInjectorsRequest!

Example

Query
query GetInjectors($request: GetInjectorsRequest!) {
  getInjectors(request: $request) {
    externalLookupSuccess
    injectors {
      externalId
      name
      uniqueId
    }
  }
}
Variables
{"request": GetInjectorsRequest}
Response
{
  "data": {
    "getInjectors": {
      "externalLookupSuccess": true,
      "injectors": [InjectorResponse]
    }
  }
}

getProfileStatus

Description

Used to look up a consumer by either phone number or email address. See [GetProfileStatusResponse] for additional details about the specific fields returned.

Response

Returns a GetProfileStatusResponse

Arguments
Name Description
request - GetProfileStatusRequest!

Example

Query
query GetProfileStatus($request: GetProfileStatusRequest!) {
  getProfileStatus(request: $request) {
    email
    enrollmentMethod
    isBlackListed
    isCompleted
    isEnrolled
  }
}
Variables
{"request": GetProfileStatusRequest}
Response
{
  "data": {
    "getProfileStatus": {
      "email": "user@domain.com",
      "enrollmentMethod": "EMAIL",
      "isBlackListed": false,
      "isCompleted": false,
      "isEnrolled": true
    }
  }
}

Mutations

checkIn

Description

Used to start the check in process for a consumers treatment at a Facility after the consumer has completed their profile.

Response

Returns a CheckInConsumerResponse!

Arguments
Name Description
request - CheckInConsumerRequest!

Example

Query
mutation CheckIn($request: CheckInConsumerRequest!) {
  checkIn(request: $request) {
    checkIn {
      accountId
      checkInDate
      consumerProfileId
      facilityId
      hasInjector
      id
      phoneNumber
    }
    reward {
      consumerProfileId
      earnedAt
      eligibilityStatus
      eligibleAt
      expiration
      rewardAmount
      status
    }
  }
}
Variables
{"request": CheckInConsumerRequest}
Response
{
  "data": {
    "checkIn": {
      "checkIn": ConsumerCheckIn,
      "reward": ConsumerReward
    }
  }
}

createEBookingCancellation

Description

Used to keep track of when a consumer has cancelled an ebooking appointment.

Response

Returns a SuccessResponse!

Arguments
Name Description
request - CreateEBookingCancellationRequest!

Example

Query
mutation CreateEBookingCancellation($request: CreateEBookingCancellationRequest!) {
  createEBookingCancellation(request: $request) {
    message
    success
  }
}
Variables
{"request": CreateEBookingCancellationRequest}
Response
{
  "data": {
    "createEBookingCancellation": {
      "message": "xyz789",
      "success": true
    }
  }
}

createEBookingConfirmation

Description

Used to keep track of when a consumer has confirmed an ebooking appointment.

Response

Returns a SuccessResponse!

Arguments
Name Description
request - CreateEBookingConfirmationRequest!

Example

Query
mutation CreateEBookingConfirmation($request: CreateEBookingConfirmationRequest!) {
  createEBookingConfirmation(request: $request) {
    message
    success
  }
}
Variables
{"request": CreateEBookingConfirmationRequest}
Response
{
  "data": {
    "createEBookingConfirmation": {
      "message": "abc123",
      "success": false
    }
  }
}

createEBookingDropOff

Description

Used to track when a consumer has dropped off during the ebooking process.

Response

Returns a SuccessResponse!

Arguments
Name Description
request - CreateEBookingDropOffRequest!

Example

Query
mutation CreateEBookingDropOff($request: CreateEBookingDropOffRequest!) {
  createEBookingDropOff(request: $request) {
    message
    success
  }
}
Variables
{"request": CreateEBookingDropOffRequest}
Response
{
  "data": {
    "createEBookingDropOff": {
      "message": "abc123",
      "success": false
    }
  }
}

createProfile

Description

Used to create a new profile for a consumer. The consumer will receive a text message with a link to complete their profile.

Response

Returns a CreateProfileResponse!

Arguments
Name Description
request - CreateProfileRequest!

Example

Query
mutation CreateProfile($request: CreateProfileRequest!) {
  createProfile(request: $request) {
    isBlackListed
    isCompleted
    isEnrolled
    success
  }
}
Variables
{"request": CreateProfileRequest}
Response
{
  "data": {
    "createProfile": {
      "isBlackListed": false,
      "isCompleted": true,
      "isEnrolled": true,
      "success": false
    }
  }
}

createReward

Description

Used to create a new reward when the consumer's existing reward has expired.

Response

Returns a CreateConsumerRewardResponse!

Arguments
Name Description
request - CreateConsumerRewardRequest!

Example

Query
mutation CreateReward($request: CreateConsumerRewardRequest!) {
  createReward(request: $request) {
    reward {
      consumerProfileId
      earnedAt
      eligibilityStatus
      eligibleAt
      expiration
      rewardAmount
      status
    }
  }
}
Variables
{"request": CreateConsumerRewardRequest}
Response
{"data": {"createReward": {"reward": ConsumerReward}}}

redeemReward

Description

Used to validate the secret phrase sent to the consumer and finalize the check in process.

Response

Returns a RedeemRewardResponse!

Arguments
Name Description
request - RedeemRewardRequest!

Example

Query
mutation RedeemReward($request: RedeemRewardRequest!) {
  redeemReward(request: $request) {
    attemptsRemaining
    success
  }
}
Variables
{"request": RedeemRewardRequest}
Response
{"data": {"redeemReward": {"attemptsRemaining": 987, "success": true}}}

sendSecret

Description

Used to send the consumer a text message with a secret phrase. The consumer will need to validate the secret phrase to finish the enrollment process.

Response

Returns a SendRewardSecretResponse!

Arguments
Name Description
request - SendRewardSecretRequest!

Example

Query
mutation SendSecret($request: SendRewardSecretRequest!) {
  sendSecret(request: $request) {
    attemptsRemaining
    deliveryMethod
  }
}
Variables
{"request": SendRewardSecretRequest}
Response
{"data": {"sendSecret": {"attemptsRemaining": 987, "deliveryMethod": "EMAIL"}}}

Types

AccountId

Description

A string prefixed with A- followed by numbers.

Example
"A-123456"

Address

Fields
Field Name Description
addressLine1 - String!
addressLine2 - String
city - String!
commercial - Boolean
state - String!
zip - String!
Example
{
  "addressLine1": "1234 Example St.",
  "addressLine2": "Suite #2",
  "city": "Irvine",
  "commercial": true,
  "state": "CA",
  "zip": "92618"
}

Animals

Values
Enum Value Description

BIRD

CAT

CHERRY

DOG

FISH

GRAPES

HIPPO

LIGHTS

MONKEY

MOUSE

PEAR

PINEAPPLE

PRESENT

SNOWMAN

STOCKING

STRAWBERRY

TREE

UNICORN

WATERMELON

WREATH

Example
"BIRD"

Boolean

Description

The Boolean scalar type represents true or false.

CheckInConsumerRequest

Fields
Input Field Description
accountId - AccountId!
facilityId - FacilityId!
injector - InjectorInput
phoneNumber - PhoneNumber!
Example
{
  "accountId": "A-123456",
  "facilityId": "F-123456",
  "injector": InjectorInput,
  "phoneNumber": "19876543210"
}

CheckInConsumerResponse

Fields
Field Name Description
checkIn - ConsumerCheckIn!
reward - ConsumerReward!
Example
{
  "checkIn": ConsumerCheckIn,
  "reward": ConsumerReward
}

Colors

Values
Enum Value Description

ABUNDANT

BLUE

CALM

ENERGETIC

GOLD

GREEN

HAPPY

PINK

PURPLE

RED

ROYAL

SILVER

SWEET

TEAL

WHITE

YELLOW

Example
"ABUNDANT"

ConsumerCheckIn

Fields
Field Name Description
accountId - AccountId!
checkInDate - DateTime!
consumerProfileId - String!
facilityId - FacilityId!
hasInjector - Boolean!
id - String!
phoneNumber - PhoneNumber!
Example
{
  "accountId": "A-123456",
  "checkInDate": "2016-10-07T01:08:03.420Z",
  "consumerProfileId": "xyz789",
  "facilityId": "F-123456",
  "hasInjector": true,
  "id": "abc123",
  "phoneNumber": "19876543210"
}

ConsumerCheckInPromotion

Fields
Field Name Description
amount - Float
endDate - String
startDate - String
Example
{
  "amount": 987.65,
  "endDate": "abc123",
  "startDate": "abc123"
}

ConsumerReward

Fields
Field Name Description
consumerProfileId - String!
earnedAt - DateTime!
eligibilityStatus - EligibilityStatus!
eligibleAt - DateTime!
expiration - DateTime
rewardAmount - Float!
status - RewardStatus!
Example
{
  "consumerProfileId": "abc123",
  "earnedAt": "2016-10-07T01:08:03.420Z",
  "eligibilityStatus": "ALREADY_REDEEMED",
  "eligibleAt": "2016-10-07T01:08:03.420Z",
  "expiration": "2016-10-07T01:08:03.420Z",
  "rewardAmount": 123.45,
  "status": "REDEEMED"
}

CreateConsumerRewardRequest

Fields
Input Field Description
accountId - AccountId!
facilityId - FacilityId!
phoneNumber - PhoneNumber!
Example
{
  "accountId": "A-123456",
  "facilityId": "F-123456",
  "phoneNumber": "19876543210"
}

CreateConsumerRewardResponse

Fields
Field Name Description
reward - ConsumerReward!
Example
{"reward": ConsumerReward}

CreateEBookingCancellationRequest

Fields
Input Field Description
accountId - AccountId!
cancellationFee - Float!
email - Email!
facilityId - FacilityId!
phoneNumber - PhoneNumber!
Example
{
  "accountId": "A-123456",
  "cancellationFee": 987.65,
  "email": "user@domain.com",
  "facilityId": "F-123456",
  "phoneNumber": "19876543210"
}

CreateEBookingConfirmationRequest

Fields
Input Field Description
accountId - AccountId!
appointmentAt - DateTime!
bookedAt - DateTime!
email - Email!
facilityId - FacilityId!
firstName - String!
lastName - String!
phoneNumber - PhoneNumber!
requestingEntity - String!
Example
{
  "accountId": "A-123456",
  "appointmentAt": "2016-10-07T01:08:03.420Z",
  "bookedAt": "2016-10-07T01:08:03.420Z",
  "email": "user@domain.com",
  "facilityId": "F-123456",
  "firstName": "xyz789",
  "lastName": "xyz789",
  "phoneNumber": "19876543210",
  "requestingEntity": "abc123"
}

CreateEBookingDropOffRequest

Fields
Input Field Description
accountId - AccountId!
bookedAt - DateTime!
cancellationFee - Float!
dropOffStep - Float!
email - Email!
emrName - String!
facilityId - FacilityId!
firstName - String!
lastName - String!
phoneNumber - PhoneNumber!
requestingEntity - String!
Example
{
  "accountId": "A-123456",
  "bookedAt": "2016-10-07T01:08:03.420Z",
  "cancellationFee": 987.65,
  "dropOffStep": 123.45,
  "email": "user@domain.com",
  "emrName": "abc123",
  "facilityId": "F-123456",
  "firstName": "abc123",
  "lastName": "abc123",
  "phoneNumber": "19876543210",
  "requestingEntity": "xyz789"
}

CreateProfileRequest

Fields
Input Field Description
accountId - AccountId
facilityId - FacilityId
isOptedIn - Boolean!
metadata - UnknownObjectOfStringsScalar
phoneNumber - PhoneNumber!
requestingEntity - String
Example
{
  "accountId": "A-123456",
  "facilityId": "F-123456",
  "isOptedIn": false,
  "metadata": UnknownObjectOfStringsScalar,
  "phoneNumber": "19876543210",
  "requestingEntity": "abc123"
}

CreateProfileResponse

Fields
Field Name Description
isBlackListed - Boolean
isCompleted - Boolean
isEnrolled - Boolean
success - Boolean!
Example
{
  "isBlackListed": true,
  "isCompleted": false,
  "isEnrolled": true,
  "success": false
}

DateTime

Description

A string formatted in the ISO8601 standard.

Example
"2016-10-07T01:08:03.420Z"

DeliveryMethod

Values
Enum Value Description

EMAIL

SMS

TEXT_TO_VOICE

Example
"EMAIL"

EligibilityStatus

Values
Enum Value Description

ALREADY_REDEEMED

ELIGIBLE

EXPIRED

EXPIRED_IN_GRACE_PERIOD

NOT_YET_ACTIVE

VOIDED

Example
"ALREADY_REDEEMED"

Email

Description

A personal email address as defined by Section 3.4 of RFC 5322

Example
"user@domain.com"

EnrollmentMethod

Values
Enum Value Description

EMAIL

SMS

Example
"EMAIL"

FacilityId

Description

A string prefixed with F- followed by numbers.

Example
"F-123456"

Float

Description

The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

Example
987.65

GetAccountOptInDetailsRequest

Fields
Input Field Description
accountId - AccountId!
Example
{"accountId": "A-123456"}

GetAccountOptInDetailsResponse

Fields
Field Name Description
accountId - AccountId!
accountName - String!
facilities - [PublicOptedInFacilityInfo!]
status - OptInStatus!
Example
{
  "accountId": "A-123456",
  "accountName": "abc123",
  "facilities": [PublicOptedInFacilityInfo],
  "status": "INACTIVE"
}

GetActiveRewardByPhoneRequest

Fields
Input Field Description
accountId - AccountId
phoneNumber - PhoneNumber!
Example
{
  "accountId": "A-123456",
  "phoneNumber": "19876543210"
}

GetActiveRewardByPhoneResponse

Fields
Field Name Description
promotion - ConsumerCheckInPromotion
reward - ConsumerReward
Example
{
  "promotion": ConsumerCheckInPromotion,
  "reward": ConsumerReward
}

GetInjectorsRequest

Fields
Input Field Description
accountId - AccountId!
facilityId - FacilityId!
Example
{
  "accountId": "A-123456",
  "facilityId": "F-123456"
}

GetInjectorsResponse

Fields
Field Name Description
externalLookupSuccess - Boolean!
injectors - [InjectorResponse!]
Example
{
  "externalLookupSuccess": false,
  "injectors": [InjectorResponse]
}

GetProfileStatusRequest

Fields
Input Field Description
email - Email
phoneNumber - PhoneNumber
Example
{
  "email": "user@domain.com",
  "phoneNumber": "19876543210"
}

GetProfileStatusResponse

Fields
Field Name Description
email - Email
enrollmentMethod - EnrollmentMethod
isBlackListed - Boolean If true the consumer's phone carrier is blacklisted and we will be unable to send a text message to the consumer.
isCompleted - Boolean If true the consumer is enrolled within the Evolus Rewards system and the consumer has completed profile.
isEnrolled - Boolean If true the consumer is enrolled within the Evolus Rewards system. The consumer may or may not have completed their profile.
Example
{
  "email": "user@domain.com",
  "enrollmentMethod": "EMAIL",
  "isBlackListed": true,
  "isCompleted": true,
  "isEnrolled": false
}

InjectorInput

Fields
Input Field Description
externalId - String
name - String
uniqueId - String
Example
{
  "externalId": "xyz789",
  "name": "abc123",
  "uniqueId": "xyz789"
}

InjectorResponse

Fields
Field Name Description
externalId - String
name - String
uniqueId - String
Example
{
  "externalId": "abc123",
  "name": "xyz789",
  "uniqueId": "abc123"
}

Int

Description

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

Example
987

OAuthRequest

Fields
Input Field Description
clientId - String!
clientSecret - String!
grantType - String!
scope - Void
Example
{
  "clientId": "t19u9dd7makgg9gactop7fj3lp",
  "clientSecret": "s800c2ta5qosqyusu0sq6iv5v8lpde1nwaadognf7ndj3lap3bc",
  "grantType": "client_credentials",
  "scope": null
}

OAuthResult

Fields
Field Name Description
accessToken - String
expiresIn - Float
tokenType - String
Example
{
  "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
  "expiresIn": 3600,
  "tokenType": "Bearer"
}

OptInStatus

Values
Enum Value Description

INACTIVE

OPTED_IN

OPTED_OUT

Example
"INACTIVE"

PhoneNumber

Description

A string of numbers starting with the country code followed by the remaining digits.

Example
"19876543210"

PublicOptedInFacilityInfo

Fields
Field Name Description
address - Address
facilityId - FacilityId
name - String
Example
{
  "address": Address,
  "facilityId": "F-123456",
  "name": "xyz789"
}

RedeemRewardRequest

Fields
Input Field Description
accountId - AccountId!
checkInId - String!
facilityId - FacilityId!
phoneNumber - PhoneNumber!
secretPhrase - SecretPhrase!
Example
{
  "accountId": "A-123456",
  "checkInId": "xyz789",
  "facilityId": "F-123456",
  "phoneNumber": "19876543210",
  "secretPhrase": SecretPhrase
}

RedeemRewardResponse

Fields
Field Name Description
attemptsRemaining - Int
success - Boolean!
Example
{"attemptsRemaining": 123, "success": true}

ResendEnrollmentLinkRequest

Fields
Input Field Description
email - Email
phoneNumber - PhoneNumber!
Example
{
  "email": "user@domain.com",
  "phoneNumber": "19876543210"
}

ResendEnrollmentLinkResponse

Fields
Field Name Description
isAlreadyCompleted - Boolean
Example
{"isAlreadyCompleted": true}

RewardStatus

Values
Enum Value Description

REDEEMED

UNREDEEMED

VOIDED

Example
"REDEEMED"

SecretPhrase

Fields
Input Field Description
animal - Animals!
color - Colors!
Example
{"animal": "BIRD", "color": "ABUNDANT"}

SendRewardSecretRequest

Fields
Input Field Description
checkInId - String!
deliveryMethod - DeliveryMethod!
phoneNumber - PhoneNumber!
Example
{
  "checkInId": "xyz789",
  "deliveryMethod": "EMAIL",
  "phoneNumber": "19876543210"
}

SendRewardSecretResponse

Fields
Field Name Description
attemptsRemaining - Int!
deliveryMethod - DeliveryMethod!
Example
{"attemptsRemaining": 987, "deliveryMethod": "EMAIL"}

String

Description

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

Example
"xyz789"

SuccessResponse

Fields
Field Name Description
message - String
success - Boolean!
Example
{"message": "xyz789", "success": false}

UnknownObjectOfStringsScalar

Description

Object of unknown keys and string values

Example
UnknownObjectOfStringsScalar

Void