Lead sources API

List lead sources

GET /lead_source
Accept: application/json
Authorization: Bearer 677a1598d208d6c303fa5ca1c774709250e21749
Name Required Type Description
order_by optional string Sorting
limit optional integer Limit
offset optional integer Offset
callback optional string Javascript callback

The following sort parameters may be applied:

  • name
  • id

The following scopes are needed:

  • lead_show
Status: 200 OK
X-Authenticated-User: apiextract_1
Content-Length: 91
Content-Type: application/json
[
  {
    "id": 1,
    "name": "Kalter Anruf"
  },
  {
    "id": 2,
    "name": "Direct Mailing"
  },
  {
    "id": 3,
    "name": "Website"
  }
]

Search lead sources

POST /lead_source/search
Accept: application/json
Authorization: Bearer 677a1598d208d6c303fa5ca1c774709250e21749
[
  {
    "field": "name",
    "value": "Internet"
  }
]
Name Required Type Description
order_by optional string Sorting
limit optional integer Limit
offset optional integer Offset
callback optional string Javascript callback

The following sort parameters may be applied:

  • id
  • name
Name Required Type Description
name optional string

The following scopes are needed:

  • lead_show
Status: 200 OK
X-Authenticated-User: apiextract_1
Content-Length: 2
Content-Type: application/json
[

]

Show lead source

GET /lead_source/1
Accept: application/json
Authorization: Bearer 677a1598d208d6c303fa5ca1c774709250e21749
Name Required Type Description
callback optional string Javascript callback

The following scopes are needed:

  • lead_show
Status: 200 OK
X-Authenticated-User: apiextract_1
Content-Length: 30
Content-Type: application/json
{
  "id": 1,
  "name": "Kalter Anruf"
}