POST https://api.cryptohopper.com/v1/tournaments/{tournament_id}/join

Joins a published tournament with one of your hoppers, or creates a new hopper for it. A new hopper gets the tournament's exchange, quote currency and paper trading setting.

OAuth scope: manage About scopes

Send no body to create a new hopper. To join with an existing hopper, send hopper_id as a form field (application/x-www-form-urlencoded); a hopper_id in a JSON body is not accepted and returns 400 Cannot join tournament: no hopper selected. An existing hopper must match the tournament's paper trading setting, exchange and quote currency.

Example request

curl -X POST "https://api.cryptohopper.com/v1/tournaments/TOURNAMENT_ID/join" \
  -H "access-token: YOUR_ACCESS_TOKEN"

Parameters

Headers

NameTypeRequiredDescription
access-token string Required The OAuth access token of the user.

Path parameters

NameTypeRequiredDescription
tournament_id string Required Numeric ID of the tournament.

Response

Example response (illustrative values)

{
    "data": "Tournament joined and new hopper created. You can now edit your hopper and prepare for the tournament. Good luck!"
}

Status codes: 200. Errors return JSON with status, error and message. See How the API works for response codes and rate limits.