Lead Unqualified Reasons

The Lead Unqualified Reasons API provides a simple interface to fetch lead unqualified reasons.

JSON format

NameRead onlyTypeDescription
idtruenumberUnique identifier of the lead unqualified reason.
nametruestringName of the unqualified reason.
creator_idtruenumberUnique identifier of the user that created the unqualified reason.
created_attruestringDate and time of creation in UTC (ISO 8601 format).
updated_attruestringDate and time of the last update in UTC (ISO 8601 format).

Retrieve all lead unqualified reasons

GET /v2/lead_unqualified_reasons

Returns all lead unqualified reasons available to the user according to the parameters provided.

Parameters

NameRequiredTypeInDescription
pagefalsenumberQueryPage number to start from. Page numbering starts at 1, and omitting the page parameter will return the first page.
per_pagefalsenumberQueryNumber of records to return per page. The default limit is 25 and the maximum number that can be returned is 100.

Allowed for

  • Agents

Using cURL

curl -v -X GET https://api.getbase.com/v2/lead_unqualified_reasons \-H "Accept: application/json" \-H "Authorization: Bearer $ACCESS_TOKEN"

Example response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8Content-Language: en
    {      "items": [{          "data": {              "id": 1,              "name": "No need",              "creator_id": 431,              "created_at": "2014-08-27T16:32:56Z",              "updated_at": "2014-08-27T16:32:56Z"          },          "meta": {              "type": "lead_unqualified_reason"          }        },        {          "data": {                "id": 2,                "name": "Not the decision maker",                "creator_id": 432,                "created_at": "2014-08-27T16:32:57Z",                "updated_at": "2014-08-27T16:32:57Z"            },            "meta": {                "type": "lead_unqualified_reason"            }        }],      "meta": {          "type": "collection",          "count": 2,          "links": {              "self": "http://api.getbase.com/v2/lead_unqualified_reasons.json"          }      }    }