REST APIAuth
Get auth message
GET
Get the message to sign to generate a JWT token. Do not hardcode this message as it is dynamic and can be subject to changes.
ApiKeyAuthheader
x-api-key<token>API key authentication via the x-api-key header.
application/json; charset=utf-8- response
Response for GET /v1/auth/message
success*booleandata*Authentication message data
curl -X GET 'https://api.predict.fun/v1/auth/message'Example Response
{ "success": true, "data": { "message": "string" }}