Growth OS API

Buscar negócio por id

Além dos campos de sempre, traz (issue #728) `firstHumanTouchAt`/`lastHumanTouchAt` — primeiro/último `actor:"user"` do contato deste negócio, a partir da CRIAÇÃO dele (nunca herda toque de um negócio anterior do mesmo contato) — e `lastActivityAt`, a Ação mais recente do ledger que mira este negócio ou uma atividade dele (nota, tarefa, reunião). Todos `null` = ainda não aconteceu. Só aparecem aqui, nunca em `GET /opportunities`.

GET
/opportunities/{id}

Além dos campos de sempre, traz (issue #728) firstHumanTouchAt/lastHumanTouchAt — primeiro/último actor:"user" do contato deste negócio, a partir da CRIAÇÃO dele (nunca herda toque de um negócio anterior do mesmo contato) — e lastActivityAt, a Ação mais recente do ledger que mira este negócio ou uma atividade dele (nota, tarefa, reunião). Todos null = ainda não aconteceu. Só aparecem aqui, nunca em GET /opportunities.

AutorizaçãoBearer <token>

Chave de API (gos_…)

Em: header

Parâmetros de caminho

id*string
Length1 <= length

Corpo da resposta

application/json

curl -X GET "https://example.com/opportunities/string"
{  "id": "string",  "title": "string",  "pipelineId": "string",  "stageId": "string",  "contactId": "string",  "status": "open",  "valueCents": -9007199254740991,  "currency": "string",  "ownerUserId": "string",  "temperature": "string",  "tags": [    "string"  ],  "lossReason": "string",  "expectedCloseAt": "string",  "wonAt": "string",  "lostAt": "string",  "customFields": {    "property1": null,    "property2": null  },  "createdAt": "string",  "updatedAt": "string",  "source": "string",  "utm": {    "source": "string",    "medium": "string",    "campaign": "string",    "term": "string",    "content": "string"  },  "origin": "string",  "stageChangedAt": "string",  "url": "string",  "firstHumanTouchAt": "string",  "lastHumanTouchAt": "string",  "lastActivityAt": "string"}