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:
Header | Value |
---|---|
Content-Type | application/json |
Authorization | Bearer {{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:
Header | Value |
---|---|
Server | nginx/1.19.3 |
Date | Tue, 08 Jun 2021 04:49:28 GMT |
Content-Type | application/json |
Content-Length | 183 |
Connection | keep-alive |
Access-Control-Allow-Origin | * |
Access-Control-Allow-Methods | GET, POST, OPTIONS |