Base Path: /actor/current
Version: v1
This API returns the information of the logged in user.
Authorization: OAuth 2.0 Bearer token is required to access the resources of this API. Once signed up, credentials and URL to access the OAuth API can be found on My Apps Page.
GET /actor/current/
Get details of current logged in user
Name
Type
Data Type
Description
Name:
Accept
optional
Type:
header
Data Type:
string
Description:
Content-Types that is acceptable for the response
Default Value: application/json
200
Returns an Actor object
curl -X GET "https://api.orionhealth.io/actor/current/" \
-H 'Accept: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <Access Token>'
OPTIONS /actor/current/
Preflight request for Cross-Origin Resource Sharing (CORS)
Name
Type
Data Type
Description
Name:
Accept
optional
Type:
header
Data Type:
string
Description:
Content-Types that is acceptable for the response
Default Value: application/json
200
The request was fulfilled
curl -X OPTIONS "https://api.orionhealth.io/actor/current/" \
-H 'Accept: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <Access Token>'