Authentication

Good to know: All API end points are configured with Bearer Authentication Login to get your Token

Get your Access Token

Your API requests are authenticated using Bearer Token. Any request that doesn't include Bearer Token will return an error. You can get your token you need to login with your Email and Password.

Take a look at how you might call this method using different programing languages:

curl --location --request POST '{baseUrl}/api/account/login' \
--header 'Content-Type: application/json' \
--data-raw '{
  "emailAddress": "YOUR_EMAIL_ADDRESS",
  "password": "YOUR_PASSWORD"
}'

Using Bearer Token

You need to send Token in Authorization header as Bearer

curl --location --request GET '{baseUrl}/api/Client' \
--header 'Authorization: Bearer {token}' \
--header 'Content-Type: application/json' \
--data-raw '[
  {
    "contactType": 2,
    "companyName": "string",
    "firstName": "string",
    "lastName": "string",
    "salutation": "string",
    "website": "string",
    "position": "string",
    "phone": "string",
    "mobile": "string",
    "email": "[email protected]",
    "department": "string",
    "gender": 1,
    "telMobile": "string",
    "fax": "string",
    "contactAddress": {
      "street": "string",
      "number": "string",
      "poBox": "string",
      "city": "string",
      "zip": "string",
      "state": "string",
      "country": 0,
      "type": 0
    }
  }
]'

Last updated