Growth OS API

Histórico de estágio do negócio

Eventos de estágio do negócio em ordem cronológica (`at` ASC): `created`, `moved`, `won`, `lost`, `reopened`. `fromStageId`/`toStageId` são os estágios de saída/entrada; `userId` só quando `actor` = `human`. 404 se o negócio não existe neste workspace.

GET
/opportunities/{id}/history

Eventos de estágio do negócio em ordem cronológica (at ASC): created, moved, won, lost, reopened. fromStageId/toStageId são os estágios de saída/entrada; userId só quando actor = human. 404 se o negócio não existe neste workspace.

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/history"
{  "data": [    {      "id": "string",      "opportunityId": "string",      "pipelineId": "string",      "fromStageId": "string",      "toStageId": "string",      "event": "string",      "actor": "string",      "userId": "string",      "at": "string"    }  ]}