You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: api-reference/campaigns/post-goal.mdx
+3-1
Original file line number
Diff line number
Diff line change
@@ -5,4 +5,6 @@ openapi: POST /api/teams/{teamId}/campaigns/goal
5
5
6
6
This endpoint is used to mark a campaign contact as "won" using the API.
7
7
8
-
You are required to provide the goal, for example "meeting scheduled", and we will find the contact in the most recent campaign with that goal and mark them as "won". You also need to provide a way to find the contact, for example by email, ID, or nested custom data (any one of the fields is required).
8
+
You are required to provide a way to find the contact, for example by email, ID, or nested custom data. At least property is required to identify the contact.
9
+
10
+
You can also choose to provide the goal, for example "meeting scheduled", and we will find the contact in the most recent campaign with that goal and mark them as "won". If you don't provide a goal, we will select the contact in the most recent campaign.
0 commit comments