πŸ”–Customer tags

GET https://{API_DOMAIN}/api/v1/contact-tag
curl -X GET
    -H "Content-Type: application/json"
    '{"name": "vip"}'
    https://{API_HOST}/api/v1/contact-tag

Form Data

The table below shows available filter conditions

PARAMETER

REQUIRED

DEFAULT

TYPE

DESCRIPTION

name

false

NULL

String

Fuzzy search tag name

Response

PROPERTY

TYPE

DESCRIPTION

data

Array of objects

Array of contact tag data

meta

Object

Pagination meta

{
    "data": [
        {
            "id": 1,
            "name": "High spender",
            "description": null,
            "contacts_count": 1
        },
        {
            "id": 2,
            "name": "Married",
            "description": null,
            "contacts_count": 5
        }
    ],
    "links": {
        "first": "http://dev.dev.firstline.cc/api/v1/contact-tag?page=1",
        "last": "http://dev.dev.firstline.cc/api/v1/contact-tag?page=2",
        "prev": null,
        "next": "http://dev.dev.firstline.cc/api/v1/contact-tag?page=2"
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 2,
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "http://dev.dev.firstline.cc/api/v1/contact-tag?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": "http://dev.dev.firstline.cc/api/v1/contact-tag?page=2",
                "label": "2",
                "active": false
            },
            {
                "url": "http://dev.dev.firstline.cc/api/v1/contact-tag?page=2",
                "label": "Next »",
                "active": false
            }
        ],
        "path": "http://dev.dev.firstline.cc/api/v1/contact-tag",
        "per_page": 15,
        "to": 15,
        "total": 30
    }
}

Get single record

URL Parameters

PARAMETER

REQUIRED

DEFAULT

TYPE

DESCRIPTION

contact_tag_id

true

NULL

Number

Contact tag system ID

Response

PROPERTY

TYPE

DESCRIPTION

data

Object

Contact tag

Create

Form Data

PARAMETER

REQUIRED

DEFAULT

TYPE

DESCRIPTION

name

true

NULL

String

Tag name

description

false

NULL

String

Tag description

Returns JSON format

Update

URL Parameters

PARAMETER

REQUIRED

DEFAULT

TYPE

DESCRIPTION

name

true

null

String

Tag name

description

false

null

String

Tag name count

Response

Delete

URL Parameters

PARAMETER

DESCRIPTION

id

System number of the contact tag #ID

General data

Last updated