Skip to content

Receiver

Jorge Alvarez edited this page Jan 8, 2021 · 2 revisions

Receivers

The main goal of receivers is to help you link your users (externalId) with this application. When you register an activity you send your externalId (if the id does not exist it will a new receiver will be created automatically) so you can easily match receivers to your users.

Fields

external_id: Your user ID

points: The total number of points this user has already achieved. For cache purposes.

query {
        receivers {
          externalId
          points
          achievements {
            id
          }
          activities {
            id
          }
        }
      }
Clone this wiki locally