Returns gate counter by id

GET/gate-counters/{id}

Returns gate counter by id.

Privileges: campaign-detector.view

Auditlog Event: campaign.detector.gate.counter.get

Errors:

  • CAMPAIGN_DETECTOR_API_GATE_COUNTER_NOT_FOUND - gate counter not found
Base URL
https://api-cpaas.sms.es/bulk/campaign-detector/v1
Authentication

OAuth2 — send Authorization: Bearer <access_token>. Token URL: https://accounts-cpaas.sms.es/oauth2/access-token

Request

Path parameters

idintegerrequired

Gate Counter ID

Request example

cURL · cURL
curl -L -X GET "https://api-cpaas.sms.es/bulk/campaign-detector/v1/gate-counters/{id}" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>"

Responses

Gate counter data

application/json
campaignIdinteger
campaignMsgHashstring
campaignNamestring
countryIdinteger
countryNamestring
gateCNamestring
gateCntinteger
gateIdinteger
gateNameinteger
idinteger
insertDtstring (date-time)
supplierBriefNamestring
supplierIdinteger
supplierNamestring
updateDtstring (date-time)
Example response
{
  "campaignId": 0,
  "campaignMsgHash": "string",
  "campaignName": "string",
  "countryId": 0,
  "countryName": "string",
  "gateCName": "string",
  "gateCnt": 0,
  "gateId": 0,
  "gateName": 0,
  "id": 0,
  "insertDt": "2026-01-01T12:00:00Z",
  "supplierBriefName": "string",
  "supplierId": 0,
  "supplierName": "string",
  "updateDt": "2026-01-01T12:00:00Z"
}