Get result of a goal
Changed onGets the progress of a goal for the specified period.
Request
- Base URLhttps://api.pipedrive.com/v1
- Auth
- API key in header x-api-token
- or OAuth 2Authorization code: https://oauth.pipedrive.com/oauth/authorizeToken URL: https://oauth.pipedrive.com/oauth/token scopes: goals:read, goals:full
Path parameters
The ID of the goal that the results are looked for
Query parameters
The start date of the period for which to find the goal's progress. Format: YYYY-MM-DD. This date must be the same or after the goal duration start date.
The end date of the period for which to find the goal's progress. Format: YYYY-MM-DD. This date must be the same or before the goal duration end date.
The IANA timezone to use when evaluating period boundaries (e.g. America/Sao_Paulo). The start and end of the period are interpreted in this timezone. If omitted, defaults to the timezone of the user making the request.
Response
Successful response containing payload in the data.goal object
Changes
- info
added the new optional
queryrequest parametertimezone
- info
- breaking
the
////response's property type changed fromstringtoarrayfor status - info
added the optional property
////to the response with the status
- breaking