REST API

Generate a new API Token

In order to start using API you will need to generate API Token. In order to do that:

API Tokens menu

  1. Click API Tokens in user's menu
  2. Click Generate a new API Token
  3. Enter token name and click Generate
  4. You will be redirected back to the list. Now you can copy your newly generated token and start using API.

Authorization

In order to authorize the api you should use the X-API-TOKEN header with generated token.

Example request:

curl --location --request GET 'https://repman.io/api/organization' \
--header 'X-API-TOKEN: d45d1eb9e4e9ab13fd8668557711bc81786a3ea60f5bb209581acf14ec036743'

Reference