CRX 101
Contact
POST

/auth/login

example only
The response below is an example, not a live call. A real token needs a signature over a fresh challenge message. This is an example of the shape you get back. The request on the left is exact — run it from your authenticated client.

Body

Bearer token · optional

Bearer
Language
curl -X POST "https://app.crxfx.com/svc/relayer/auth/login" \
  -H "Content-Type: application/json" \
  -d '{
  "address": "0x0000000000000000000000000000000000000000",
  "signature": "0x"
}'
Response
Press Example to see a sample response — this call opens a live trade and runs from your authenticated desk.

POST /auth/login is step 2 of login. It exchanges a personal_sign signature over the challenge message for a JWT valid for one hour. Send the token as Authorization: Bearer <token> on every authenticated call.

  • Body: { "address": "0x…", "signature": "0x…" }.
  • Returns: { "token": "eyJ…", "expires_at": 1780313385 } (expires_at is a Unix timestamp).
POST /auth/login