POST /goals
Adds a new goal. Along with adding a new goal, a report is created to track the progress of your goal.
Servers
- https://api.pipedrive.com/v1
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
assignee |
Object | Yes |
Who this goal is assigned to. It requires the following JSON structure: |
expected_outcome |
Object | Yes |
The expected outcome of the goal. Expected outcome can be tracked either by |
interval |
String | Yes |
The interval of the goal Possible values:
|
title |
String | No |
The title of the goal |
type |
Object | Yes |
The type of the goal. It requires the following JSON structure: |
duration |
Object | Yes |
The date when the goal starts and ends. It requires the following JSON structure: |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.