Skip to content
StatefoldDocsChangelogOpen app

API

Scopes

What tasks:create, tasks:send and tasks:read allow.

A token has one or more scopes. Scopes are independent: a token that can create threads cannot read their results or send another message unless it also has those scopes.

A request outside the token's scopes answers 403 with code forbidden and names the missing scope. Choose the narrowest set: a CI job that only starts threads needs tasks:create; a dashboard needs tasks:read.