Smartrr API Token

Create API Token

post/vendor/smartrr-api-token

Request

  • Base URL
    https://smartrr-dev.local.com
  • URL
    https://smartrr-dev.local.com/vendor/smartrr-api-token
  • Auth
    API key in header x-smartrr-access-token

Request body

Example request

{
  "smartrrApiTokenConfig": {
    "scopeSettings": {
      "SMS_CONFIG": 0,
      "EMAIL_CONFIG": 2,
      "ANALYTICS": 1
    }
  }
}

Response

Successful response

Example response

{
  "token": {
    "scopeSettings": {
      "SMS_CONFIG": 0,
      "EMAIL_CONFIG": 2,
      "ANALYTICS": 1
    }
  }
}

Changes

No recorded changes to this operation across all 8 revisions of this API.