Create Token
Credentials
Create Token
Authenticates a partner using their API key.
Request Body
- api_key (
string, required): Your unique API key provided by TakeProfit.
Response
-
status:
-
code (
integer): Status code (0indicates success). -
message (
string): Status message. -
details (
array): Additional details.
-
-
access_token:
-
token (
string): JWT access token. -
valid_to_time (
string): Expiration time of the access token in ISO 8601 format.
-
-
refresh_token:
-
token (
string): JWT refresh token. -
valid_to_time (
string): Expiration time of the refresh token in ISO 8601 format.
-
POST
Create Token
Body
application/json
The body is of type object.
Response
200 - application/json
OK
The response is of type object.