Docs

List goals

GET /api/v1/programmatic/goals

GET/api/v1/programmatic/goals
Goalsv1goals:read

Returns goals with status filtering and pagination.

Parameters

NameInType Description
statusqueryactive | achieved | abandoned | allOptional active
pagequerynumberOptional <page>
limitquerynumberOptional <limit>

Code examples

curl --request GET \
  --url 'https://api.tetri.app/api/v1/programmatic/goals?status=active&page=<page>&limit=<limit>' \
  --header 'Authorization: Bearer $TETRI_API_TOKEN'

Responses

200Goal page returned successfully.
401The access token is missing, invalid, expired, or revoked.
403The token does not have the required scope or workspace access.
429The credential has exceeded its request limit.