Skip to main content

Get Active Message Trackers

POST /api/v1/get_active_tracker

This API retrieves a list of currently active message trackers. Each tracker in the response includes a unique tracker_id, which can be used in subsequent API calls to manage individual trackers — for example, to disable a specific message tracker when it's no longer needed.

A successful response will return a list of active trackers in the following format:

[
{
"accountId": "string",
"thread_id": "string",
"tracker_id": "string"
}
]

If no active trackers are found for the given input, the API will return the following response:

{
"message": "No active message tracker found"
}

Headers

NameTypeRequired
x-api-keystringYes
x-api-secretstringYes

Request Body

Schema

accountIdstringrequiredThe unique identifier of the WeLink account.

Sample Request

{
"accountId": "string"
}

Responses

Webhook Events

Sample Response

[
{
"accountId": "string",
"thread_id": "string",
"tracker_id": "string"
}
]
POST/api/v1/get_active_tracker
x-api-key
x-api-secret