Call us toll free @ 888-497-7898

leads - getlabels

Gets a list of labels


API Call Information
area: leads
action: getlabels

API Arguments
Argument Data Type Required Description
API Url Example:
https://api.hypermail.com/api.php?apikey=YOURAPIKEYHERE&area=leads&action=getlabels

API Result:
XML Response JSON Response
<response>
<label>
<id>7</id>
<title>Tradeshow</title>
<color>#339933</color>
</label>
<label>
<id>9</id>
<title>OnPoint</title>
<color>#0000FF</color>
</label>
</response>
{
    "label": [
        {
            "id": "7",
            "title": "Tradeshow",
            "color": "#339933"
        },
        {
            "id": "9",
            "title": "OnPoint",
            "color": "#0000FF"
        }
    ]
}