Skip to main content
POST
/
v1
/
auth
/
login
/
service
Log in with service signature
curl --request POST \
  --url https://perp-api.phoenix.trade/v1/auth/login/service \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_id": "string",
  "nonce": "string",
  "signature": "string",
  "timestamp": "string"
}
'
{
  "access_token": "<string>",
  "expires_in": 1,
  "pop_key": "<string>",
  "refresh_expires_in": 1,
  "refresh_token": "<string>",
  "token_type": "<string>"
}

Body

application/json

JSON request payload for v1.auth.login_service.

client_id
string
required
nonce
string
required
signature
string
required
timestamp
string
required
key_id
string | null

Response

Phoenix JWT pair issued

access_token
string
required
expires_in
integer<int64>
required
Required range: x >= 0
pop_key
string
required
refresh_expires_in
integer<int64>
required
Required range: x >= 0
refresh_token
string
required
token_type
string
required