API Documentation - Discovery Sources
Discovery Sources
Returns a list of sources that can be used when specifying a lead source or discovery source. This list is filtered to your company’s selected options, so there may be additional valid options that are not returned. Unless otherwise specified, values will need to be specified by id or name (i.e. just the value 466 or “facebook”) instead of the full object representation.
GET /api/v2/discovery-sources
Example request made via client side JavaScript using jQuery:
var apiData = $.ajax("https://nestiolistings.com/api/v2/discovery-sources?key=<your_key>")
Example response body:
{ "data": { "discovery_sources": [ { "id": 466, "name": "Facebook" } ] }}