You can access individual vals by giving them an HTTP endpoint, but that’s not all you can do with the Val Town API: we also provide endpoints that let you create and update vals, see likes and comments, and a lot more.

Guides

The guides below offer more examples and vals for each route the API offers.

Authentication

My resources

Vals

Users

Aliases

Run

Eval

Express

OpenAPI Spec

The v1 API is defined via an OpenAPI spec and the docs for it are hosted here and embedded below:

https://www.val.town/docs/openapi.html