List Goals
Returns the goals configured for a site. This endpoint returns a list of goals, not a report. It takes no time window, filters, or other query parameters, and unknown query parameters return `400 analyze_input_validation`.
Each goal includes its type (`goalType`) and whether it's a site goal (`isSiteGoal`). Integration goals also include `integrationSource`, and HubSpot or Marketo form goals include the `formId`. Use a goal's `goalId` with [Get Goal Performance](/data/v2.0.0-beta/reference/analyze/goal-performance) to get its daily conversions.
<Warning title="Analyze add-on required">This endpoint requires a workspace with the Analyze add-on.</Warning>
<Note title="Concurrency limit: 1 request at a time">Each access token can have one Analyze request in flight at a time, across all Analyze endpoints. Additional concurrent requests return `429 Too Many Requests`. Wait for your in-flight request to finish, or for the `Retry-After` interval, then retry.</Note>
Required scope | `sites:read`
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
site_id
Unique identifier for a Site
Response
The site's configured goals.
goals
The site's configured goals. Empty when the site has none.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error