Whoami

whoami #

Use a whoami call to make sure the connection is working. It returns basic information about the authenticated connection.

Who am I? #

Checks the connection to the API and returns the name and other information about the authorised user, and the range of call types available to that user, eg AIR, Medicare, DVA etc.

GET /whoami #

Endpoint:

{{base_url}}/{{version}}/whoami

Headers:

HeaderValue
Content-Typeapplication/json
AuthorizationBearer {{oauth_token}}

Example Request:

curl --location 'https://sandbox.claiming.com.au/v2/whoami' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer '

Example Response:

Body:

{
  "authGroup": null,
  "vendor": {
    "id": 2,
    "name": "iTest Vendor",
    "functions": [
      "DVA",
      "VAA",
      "IMC",
      "BulkBill",
      "Medicare",
      "AIR"
    ],
    "minorIdStems": [
      "SAP"
    ]
  }
}

Headers:

HeaderValue
Servernginx/1.19.3
DateTue, 08 Jun 2021 04:49:28 GMT
Content-Typeapplication/json
Content-Length183
Connectionkeep-alive
Access-Control-Allow-Origin*
Access-Control-Allow-MethodsGET, POST, OPTIONS