Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{{baseUrl}}/api/v1/{{codename}}/lead/records?funnel={{funnel}}&funnelGroup={{funnelGroup}}&skip={{skip}}&limit={{limit}}

...

Code Block
Accept: 'application/json'
Content-Type: 'application/json'
Authorization: 'Bearer ' + accessToken

Url params:

Parameter

type

Description

codename

String

Request the Chat-Tonic team.

skip

String

0 (Default 0)

limit

String

10 (Default and max value 100)

Request params:

Parameter

type

Description

funnel

String

Required value, funnel name.

funnelGroup

String

Required value, funnelGroup name.

account

String

Optional value.

startDate

Date(ISO_8601)

Optional value.

endDate

Date(ISO_8601)

Optional value.

Body:

...

...

{
  "funnel": "sacarTarjeta",
  "funnelGroup": "Sacar Tarjeta"
}

Response:

Info

Returns 'Leads' generated by users.

...

Code Block
{{baseUrl}}/api/v1/{{codename}}/lead/export?funnel={{funnel}}&funnelGroup={{funnelGroup}}&exportType={{exportType}}&bot={{bot}}

Method: GET

Header:

Code Block
Accept: 'application/json'
Content-Type: 'application/json'
Authorization: 'Bearer ' + accessToken

...

Parameter

type

Description

funnel

String

Required value, funnel name.

funnelGroup

String

Required value, funnelGroup name.

exportType

String

Required value:

csv

json

xlsx

bot

String

Required value, bot name.

account

String

Optional value, account id.

startDate

Date(ISO_8601)

Optional value.

endDate

Date(ISO_8601)

Optional value.

...