In order to use the OSIS API you must have a verified user with API access granted.

API Token

API tokens can be generated via the OSIS Admin interface at:

OSIS Admin > Settings > API Users

The credentials are used via the following format:

Token {api token}

The token can be used in the Authorization header like:

Authorization: Token dfsdsddvddeaefegereg

Basic Authentication

Basic authentication has been deprecated in the OSIS SaaS offering. Token authentication is preferred and basic authentication will be removed in future versions of OSIS.

  1. Combine your user name and password with a semi colon. e.g., jane.user@mycompany.com:djsnf384784DGDG
  2. Base-64 encode the string from step 1 above. e.g., amFuZS51c2VyQG15Y29tcGFueS5jb206ZGpzbmYzODQ3ODRER0RH
  3. Include the resultant value from step 2 in a HTTP Authorization header. e.g., Authorization: Basic amFuZS51c2VyQG15Y29tcGFueS5jb206ZGpzbmYzODQ3ODRER0RH