Authorization APIs to get access and refresh token
curl --request POST \
--url https://api.eka.care/connect-auth/v1/account/login \
--header 'Content-Type: application/json' \
--data '{
"api_key": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"user_token": "<string>"
}'
{
"access_token": "<string>",
"expires_in": 123,
"refresh_expires_in": 123,
"refresh_token": "<string>"
}
OK
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.eka.care/connect-auth/v1/account/login \
--header 'Content-Type: application/json' \
--data '{
"api_key": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"user_token": "<string>"
}'
{
"access_token": "<string>",
"expires_in": 123,
"refresh_expires_in": 123,
"refresh_token": "<string>"
}
Authorization APIs to get access and refresh token
curl --request POST \
--url https://api.eka.care/connect-auth/v1/account/login \
--header 'Content-Type: application/json' \
--data '{
"api_key": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"user_token": "<string>"
}'
{
"access_token": "<string>",
"expires_in": 123,
"refresh_expires_in": 123,
"refresh_token": "<string>"
}
OK
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.eka.care/connect-auth/v1/account/login \
--header 'Content-Type: application/json' \
--data '{
"api_key": "<string>",
"client_id": "<string>",
"client_secret": "<string>",
"user_token": "<string>"
}'
{
"access_token": "<string>",
"expires_in": 123,
"refresh_expires_in": 123,
"refresh_token": "<string>"
}