POST
/
teams
/
{teamId}
/
conversations
/
won
curl --request POST \
  --url https://api.firstquadrant.ai/teams/{teamId}/conversations/won \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "[email protected]",
  "idempotencyKey": "aac843f5-69ab-4f88-9afb-0ed33a383ee4"
}'
{
  "success": true
}

Authorizations

Authorization
string
headerrequired

You can generate an API key by logging in to your FirstQuadrant account and navigating to Settings -> Apps and enabling "FirstQuadrant API". The API key should begin with "fqa_".

Path Parameters

teamId
string
required

Team ID, starting with tea_

Body

application/json
email
string
required

The email address of the lead.

idempotencyKey
string
required

A unique identifier for the goal. For example, if you are marking a conversation as won because a meeting is scheduled, use the meeting ID; or if you are marking a conversation as won because a user signed up, use your user ID.

Response

200 - application/json
success
boolean
required