Skip to content
This repository was archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
50 lines (39 loc) · 1.44 KB

File metadata and controls

50 lines (39 loc) · 1.44 KB

Get Custom Field Information

Get details about a specific custom field.

HTTP MethodURLRequires Auth
GET/api/v1/livechat/custom-fields/:_idyes

{% hint style="info" %} Permission required: view-l-room {% endhint %}

Path Variables

KeyExample ValueDescription
_id*addressThe custom field ID.

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     http://localhost:3000/api/v1/livechat/custom-fields/address

Example Response

{
    "customField": {
        "_id": "address",
        "label": "address",
        "scope": "visitor",
        "visibility": "visible",
        "regexp": "",
        "searchable": true,
        "type": "input",
        "required": false,
        "defaultValue": "",
        "options": "",
        "public": true,
        "_updatedAt": "2023-10-30T13:43:09.408Z",
        "id": "address"
    },
    "success": true
}

Change Log

Version Description
2.4.0 Added