deals

GET /deals/movements_history

List deals stages changes in a time range. This allows to track everytime a deal had a movement between stages of a funnel or when it was won or lost.

Request

  • Base URL
    https://api.agendor.com.br/v3
  • Auth
    API key in header Authorization

Query parameters

pageinteger

Page of results to fetch.

per_pageinteger

Number of results to return per page.

sincestring date-time

Use to search for stages or status created and updated since the given date. Example: 2023-10-23T00:00:00Z. When not provided, default value is 7 days ago.

days_intervalinteger

Amount of days after since to delimit the filter range. Default value is 7. Max value is 30.

Request body application/x-www-form-urlencoded

event_typestring[]

Filter by event type. Possible values are: stage_changed, status_changed, and deal_created. You can provide one or more values separating them by commas without spaces. Example: stage_changed,status_changed. When value is not provided, all events are returned.

Response

OK

Changes

No operation changes recorded.