used-by

Embed
Preview of the card
<a href="https://hermeticor.com/docs/ref-used-by"><img src="https://hermeticor.com/docs/_api/public/orgs/5fcd8b3c-a27c-4688-972f-de710125592f/spaces/caf5dc05-15f7-4e0c-bdb8-ab29ede6211e/pages/2a492392-3ac1-42ae-be35-2845895a6793/social-card.svg?v=3e7ae33eec8b" alt="used-by" width="600" height="315"></a>
GEThttps://hermeticor.com/v1/used-by/{kind}/{id}

Workflows, campaigns, segments and custom metrics that reference a list, segment, template or metric (event name or custom metric id)

Parameters

limitintegerquery
Page size; omitted returns the whole list
cursorstringquery
Opaque: the nextCursor of the previous page
kindstringpathrequired
list | segment | template | metric | sender
idstringpathrequired

Code samples

cURL
curl -X GET "https://hermeticor.com/v1/used-by/{kind}/{id}" \
  -H "Authorization: Bearer $HERMETICOR_API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Default Response
Example
{
  "items": [
    {
      "kind": "workflow",
      "id": "string",
      "name": "string",
      "status": "string",
      "via": "string"
    }
  ],
  "nextCursor": "string"
}
Schema
itemsobject[]required
Show child parameters
kindstringrequired
workflow | campaign | segment | form | custom_metric | sender_pool
idstringrequired
namestringrequired
statusstringrequired
viastringrequired
nextCursorstringrequired
4XX Default Response
Example
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  }
}
Schema
errorobjectrequired
Show child parameters
codestringrequired
messagestringrequired
detailsobject
5XX Default Response

Same as 4XX · GET /v1/used-by/{kind}/{id}

Updated