API Reference

An endpoint that allows to create a new activity. See ton-society events catalouge. Newly created activity is posted on the website and is available by its slug (use GET /activities/{activity_id} request to find the activity slug) but might not be present in the catalouge. In order to appear under one of the activity categories, the activity needs to go through additional moderation.

Log in to see full request history
Body Params
string
required

The activity title

string
required

The activity subtitle

string
required

The activity description

integer
required

Id of the corresponding ton-society hub of the activity (e.g., CIS, Global, etc.). Use /hubs endpoint to retrieve the list of hubs.

string

The activity additional information

string

The start date of the activity in the appropriate format

string

The end date of the activity in the appropriate format

cta_button
object
rewards
object
Responses

400

Invalid query/path/body param provided

404

Resource not found

429

Rate limit exceeded. See "Retry-After", "X-RateLimit-Limit", "X-RateLimit-Remaining", and "X-RateLimit-Reset" headers in the response

500

Internal server error

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json