Partners

Verify

HTTP Method: GET

URL: https://app.aplos.com/hermes/api/v1/partners/verify

Parameters:

  • api-client-id: [ACCOUNT ID]
    The Aplos account (organization) for which you are verifying access

Headers:

  • Authorization = Bearer: [ACCESS TOKEN]
    The access token obtained via the authentication resource.

Example JSON (Authorized):

{
  "version": "v2_0_1",
  "status": 200,
  "data": {
    "partner_verification": {
      "aplos_account_id": "[ACCOUNT ID]",
      "authorized": true
    }
  }
}

Example JSON (Unauthorized):

{
  "version": "v2_0_1",
  "status": 422,
  "data": {
    "partner_verification": {
      "aplos_account_id": "[ACCOUNT ID]",
      "authorized": false
    }
  },
  "exception": {
    "message": "Client is not authorized to access the given account.",
    "code": 1006
  }
}