Skip to main content

Sign in to opensensemapAPI

Signs in to opensensemapAPI to retrieve the token needed for using POST-routes.

Request Body required
  • email string

    e-mail adress of the user

  • password string

    password of the user

Responses

OK


Schema
  • code integer

    the id of the created unit

  • message string

    the slug of the created unit

  • data object
  • user object
  • name string

    name of the user

  • email string

    e-mail adress of the user

  • role string

    role of the user

  • language string

    spoken language of the user, e.g. "de_DE" or "en_EN"

  • boxes string[]

    array that contains all ids of the boxes that the user registered on the opensensemap

  • emailIsConfirmed boolean

    boolean that indicates if the users email adress is confirmed

  • token string

    the web token, that you need for the POST routes

  • refreshToken string

    refreshToken from your logIn