Docs

Get a goal

GET /api/v1/programmatic/goals/{id}

GET/api/v1/programmatic/goals/{id}
Goalsv1goals:read

Returns one goal from the PAT workspace.

Parameters

NameInType Description
idpathstringRequired <id>

Code examples

curl --request GET \
  --url 'https://api.tetri.app/api/v1/programmatic/goals/<id>' \
  --header 'Authorization: Bearer $TETRI_API_TOKEN'

Responses

200Goal 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.