Actor Current

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.


Methods

Get details of current User

GET /actor/current/

Get details of current logged in user


Parameters

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


Responses


application/json+fhir

200

Returns an Actor object

Sample Request

curl -X GET "https://api.orionhealth.io/actor/current/" \
-H 'Accept: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <Access Token>'

Get details of current User

OPTIONS /actor/current/

Preflight request for Cross-Origin Resource Sharing (CORS)


Parameters

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


Responses


application/json+fhir

200

The request was fulfilled

Sample Request

curl -X OPTIONS "https://api.orionhealth.io/actor/current/" \
-H 'Accept: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <Access Token>'