Skip to main content
POST
/
takeprofit.partner.external.auth.v1.AuthApi.Login
Create Token
curl --request POST \
  --url https://api.dev.tpinf.in/takeprofit.partner.external.auth.v1.AuthApi.Login \
  --header 'Content-Type: application/json' \
  --data '
{
  "api_key": "YOUR_API_KEY_HERE"
}
'
{ "status": { "code": 0, "message": "", "details": [] }, "access_token": { "token": "VALID_ACCESS_TOKEN", "valid_to_time": "2024-10-30T12:57:25Z" }, "refresh_token": { "token": "VALID_REFRESH_TOKEN", "valid_to_time": "2024-10-30T14:27:25Z" } }

Body

application/json

The body is of type object.

Response

200 - application/json

OK

The response is of type object.