API referenceCustom moments
List custom moments
Lists the organization's custom moments, newest first, with cursor pagination.
Authorization
apiKey X-API-Key<token>
API key (prefix spk_test_ or spk_live_) or personal access token (prefix pat_)
In: header
Query Parameters
cursor?string
Opaque pagination cursor, from the previous response's page_info.end_cursor.
limit?integer
Items per page, up to 100; more is 100. Absent, or less than 1, is 10.
Format
int64Response Body
application/json
application/json
curl -X GET "https://example.com/moments"{ "items": [ { "color": "violet", "created_at": "2019-08-24T14:15:22Z", "examples": { "fire": [ "string" ], "skip": [ "string" ] }, "id": "mdef_2jxsy8cc8v0348asy6t1", "label": "Pricing objection", "live_version": 0, "min_confidence": 0.1, "name": "pricing_objection", "not_when": "string", "shadow_version": 0, "status": "draft", "timing": "act", "updated_at": "2019-08-24T14:15:22Z", "version": 0, "when": "string" } ], "page_info": { "end_cursor": "string", "has_next_page": true, "has_previous_page": true, "start_cursor": "string", "total": 0 }}