REST APIActivity

Join an activity

POST
/activities/{activityCode}/join

Registers the signed-in wallet for the activity named by activityCode, for example lol-worlds.

Authorization

ApiKeyAuthBearerAuth
headerx-api-key<token>

API key authentication via the x-api-key header.

headerAuthorizationBearer <JWT>

Bearer authentication via the Authorization: Bearer <token> header.

Path Parameters

activityCode*string

The activity's code, for example lol-worlds.

Response Body

application/json; charset=utf-8
  1. response
success*boolean
data*
Example Request
curl -X POST 'https://api.predict.fun/v1/activities/string/join'
Example Response
{  "success": true,  "data": {    "joined": true,    "joinedAt": "string"  }}