Whoami

whoami #

Use a whoami call to make sure the connection is working.

Who am I? #

Checks the connection to the API and returns the name and other information about the authorised user, and the range of claim types available to that user, eg 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": XX,
        "name": "Dummy Vendor",
        "functions": [
            "DVA",
            "VAA",
            "InPatientMedical",
            "BulkBill",
            "Medicare",
            "OEC",
            "OVS",
            "AIR"
        ],
        "minorIdStems": []
    }
}

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