v1

latestOpenAPI 3.0.1Apache 2.02026-07-1398228598.3 KB
Team
Opportunity

Update Team Opportunity

Creates or updates an opportunity record associated with a team. If an opportunity with the given ID already exists for the team, it is updated; otherwise a new one is created.

put/teams/{id}/opportunity

Path parameters

idstring required

UUID of the team

Request body

opportunity_idstring required

External CRM opportunity ID to upsert

titlestring required

Display title for the opportunity

Example request

{
  "opportunity_id": "opp_xyz789",
  "title": "Enterprise Deal - Acme Corp"
}

Response

Opportunity created or updated successfully

idstring

UUID of the created or updated opportunity record

Example response

{
  "id": "rec_abc123"
}