SMBBETA

List Goals

Last updated Oct 10, 2026View as MarkdownAgent setup / MCP
GET
/v1/goals

Lists Goals for one Business that the caller can currently access. HTTP supports navigation without adding a redundant default MCP tool.

Authorization

AuthorizationBearer <token>

Signed-in user's Supabase access token. Workspace-scoped operations also require SMB-Workspace-Id.

In: header

Query Parameters

business_id*string

Business whose Goals should be listed.

Match^biz_[0-7][0-9A-HJKMNP-TV-Z]{25}$
status?string

Value in

  • "active"
  • "completed"
  • "canceled"
after?string
limit?integer
Range1 <= value <= 100
Default20

Header Parameters

SMB-Workspace-Id*string

Workspace where this operation runs. Required for user tokens and Workspace API keys.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/goals?business_id=string" \  -H "SMB-Workspace-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "data": [    {      "goal_id": "string",      "business_id": "string",      "title": "string",      "description": "string",      "status": "active",      "accountable_user_id": "string",      "due_at": "2019-08-24T14:15:22Z",      "terminal_reason": "string",      "completed_at": "2019-08-24T14:15:22Z",      "canceled_at": "2019-08-24T14:15:22Z",      "created_by": {        "type": "user",        "id": "string"      },      "revision": 1,      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "has_more": true,  "next_cursor": "string",  "request_id": "string"}