Skip to main content

getEndpointTags

This method returns details about the endpoint tags within your company.

Parameters

Parameter

Description

Included in request

Type

Values

orderBy

The criterion used to sort the returned endpoint tags.

Optional

String

Possible values:

  • name: Endpoint tags will be sorted by tag name.

  • type: Endpoint tags will be sorted by type: Custom or Automatic.

  • created: Endpoint tags will be sorted by their creation date.

Default value: created.

order

The sort order.

Optional

String

Possible values:

  • ASC: Endpoint tags are returned in ascending order depending on the selected criterion:

    • created: From oldest to newest.

    • name: Alphabetical order from A to Z.

    • type: Custom tags before Automatic tags.

  • DESC: Endpoint tags are returned in descending order depending on the selected criterion:

    • created: From newest to oldest.

    • name: Alphabetical order from Z to A.

    • type: Automatic tags before Custom tags.

Default value: DESC.

These are common parameters, available across all public API methods.

Parameter

Description

Included in request

Type

Value requirements

id

This parameter adds an identifier to the request, linking it to its corresponding response.

The target replies with the same value in the response, allowing easy call tracking.

Mandatory

String

No additional requirements.

method

The name of the method you are using to send the request.

Mandatory

String

Must be a valid method name.

jsonrpc

The version of JSON-RPC used by the request and the response.

Mandatory

String

The only possible value is 2.0.

params

An object containing the configuration of the request.

Mandatory

Object

No additional requirements.

Under the params object

page

The results page number.

Optional

Integer

Default value: 1.

perPage

The number of results displayed per page.

Optional

Integer

The upper limit is 100 items per page.

Default value: 30.

Return value

Attribute

Type

Description

result

Array of Objects

Details about the endpoint tags within your company.

For more information about each object in the array, refer to result.

Objects

result

Attribute

Type

Description

name

String

The name of the endpoint tag.

type

Integer

The type of the endpoint tag.

Possible values:

  • 0: Custom endpoint tag

  • 1: Automatic endpoint tag

description

String

The description of the endpoint tag.

company

Object

Details about the company associated with the endpoint tag.

The object contains:

  • id (String): The ID of the company.

  • name (String): The name of the company.

created

String

The date and time when the endpoint tag was created.

rules

Object

The rules used to define an Automatic endpoint tag.

The object contains:

  • endpointName (Object): Details about the rule regarding the endpoint name pattern. For more information, refer to endpointName.

  • ip (Object): Details about the rule regarding the IP or CIDR. For more information, refer to ip.

  • os (Object): Details about the rule regarding the operating system type. For more information, refer to os.

  • endpointType (Object): Details about the rule regarding the endpoint type. For more information, refer to endpointType.

endpointName

Attribute

Type

Description

enabled

Boolean

Indicates whether the rule is active for the endpoint tag definition: true for enabled, false for disabled.

rule

String

The endpoint name pattern that endpoints must match to receive this tag. Supports the * and ? wildcards.

Important

If the enabled attribute has the value false, this attribute has no impact on endpoint tag functionality, regardless of whether its value is non-null.

ip

Attribute

Type

Description

enabled

Boolean

Indicates whether the rule is active for the endpoint tag definition: true for enabled, false for disabled.

rule

String

The IP address or CIDR range that endpoints must match to receive this tag.

Important

If the enabled attribute has the value false, this attribute has no impact on endpoint tag functionality, regardless of whether its value is non-null.

os

Attribute

Type

Description

enabled

Boolean

Indicates whether the rule is active for the endpoint tag definition: true for enabled, false for disabled.

rule

Integer

The operating system that endpoints must run to receive this tag.

Possible values:

  • 3: Windows

  • 4: Linux

  • 6: macOS

Important

If the enabled attribute has the value false, this attribute has no impact on endpoint tag functionality, regardless of whether its value is non-null.

endpointType

Attribute

Type

Description

enabled

Boolean

Indicates whether the rule is active for the endpoint tag definition: true for enabled, false for disabled.

rule

Integer

The endpoint type required to receive this tag.

Possible values:

  • 0: Workstation

  • 1: Server

Important

If the enabled attribute has the value false, this attribute has no impact on endpoint tag functionality, regardless of whether its value is non-null.

Example

Request:

{
    "id": "7d2864e9-c67b-48a2-9ba3-0a11d47e83c8",
    "jsonrpc": "2.0",
    "method": "getEndpointTags",
    "params": {
        "page": 1,
        "perPage": 30,
        "orderBy": "name",
        "order": "ASC"
    }
} 

Response:

{
    "jsonrpc": "2.0",
    "result": [
        {
            "name": "Production Servers",
            "type": 0,
            "description": "All production server endpoints",
            "company": {
                "id": "66a0fe708d3a52774522b111",
                "name": "Acme Corp"
            },
            "created": "2026-03-15T09:42:00+00:00"
        },
        {
            "name": "Windows Workstations",
            "type": 1,
            "description": "Automatic tag for Windows workstations",
            "company": {
                "id": "66a0fe708d3a52774522b111",
                "name": "Acme Corp"
            },
            "created": "2026-02-10T14:00:00+00:00",
            "rules": {
                "endpointName": {
                    "enabled": false,
                    "rule": "WIN-*"
                },
                "ip": {
                    "enabled": false,
                    "rule": null
                },
                "os": {
                    "enabled": true,
                    "rule": 3
                },
                "endpointType": {
                    "enabled": true,
                    "rule": 0
                }
            }
        }
    ],
    "id": "7d2864e9-c67b-48a2-9ba3-0a11d47e83c8"
}