POST
/
connect-auth
/
v1
/
account
/
login
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>"
}

Body

application/json
client_id
string
required
client_secret
string
required
api_key
string

Optional, API Token for business id

user_token
string

Optional, User token for user id

Response

200
application/json
OK
access_token
string
expires_in
integer

Access token expiry in seconds

refresh_expires_in
integer

Refresh token expiry in seconds

refresh_token
string