Validate authorization token

Request:

namevalue

url

https://dev.pulsoid.net/api/v1/token/validate

method

GET

Response:

client_id

string

expires_in

number(in seconds)

profile_id

string

scopes

cURL Request Example:

curl --request GET \
  --url https://dev.pulsoid.net/api/v1/token/validate \
  --header 'Authorization: Bearer 8c4da3ce-7ed7-4a19-a1f1-058498661e45' \
  --header 'Content-Type: application/json' 

Response Example:

{
  "client_id": "4463b85f-79cd-445f-abee-70a0887f0a85",
  "expires_in": 625608812,
  "profile_id": "4fda99b9-6dc4-4ef4-9fe7-15f64908ad3f",
  "scopes": [
    "data:heart_rate:read",
    "data:heart_rate:write"
  ]
}

Last updated