API referenceCustom moments

List custom moment templates

GET
/moments/templates

Lists the ready-made custom moments, each with the organization's own custom moment of its name once it has one.

Authorization

apiKey
X-API-Key<token>

API key (prefix spk_test_ or spk_live_) or personal access token (prefix pat_)

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/moments/templates"
[  {    "color": "violet",    "custom_moment_id": "string",    "examples": {      "fire": [        "string"      ],      "skip": [        "string"      ]    },    "label": "Pricing objection",    "min_confidence": 0.1,    "name": "pricing_objection",    "not_when": "string",    "status": "draft",    "timing": "act",    "when": "string"  }]