Skip to content

Authorization

All API methods may be used only after authorization. Your API key and project number are required. The exceptions are methods /user/projects and /account/project/create, where only an API key is required. You can find your API key in the profile settings.

Project number can be passed in the request URL, for example: https://cloud.roistat.com/api/v1/project/access/get-authorized-users?project=12345

API key can be passed in two ways:

  • By setting the Api-key HTTP header (recommended way):

    Api-key: 1234567890qwerty
    
  • By adding the key parameter to the request URL (unsafe way):

    https://cloud.roistat.com/api/v1/project/access/get-authorized-users?key=1234567890qwerty&project=12345