API v1 Documentation
Client API > Response
Client API > Contacts
Client API > Display
Client API > Environment
Client API > User
Management API > Action Class
Management API > Attribute Class
Management API > Contact Attribute Keys
Management API > Contact Attributes
Management API > Contacts
Management API > Me
Management API > People
Management API > Response
Management API > Storage
Management API > Survey
Management API > Webhook
Health
Get All Action Classes
Fetches all the action classes available in the environment
GET
/
api
/
v1
/
management
/
action-classes
curl --request GET \
--url http:///%7B{baseurl}%7D/api/v1/management/action-classes \
--header 'x-Api-Key: <x-api-key>'
{
"data": [
{
"createdAt": "2024-04-09T04:53:29.577Z",
"description": "Gets fired when a new session is created",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clurwouax000bzffxv3fqy6mt",
"name": "New Session",
"noCodeConfig": null,
"type": "automatic",
"updatedAt": "2024-04-09T04:53:29.577Z"
},
{
"createdAt": "2024-04-09T04:53:29.577Z",
"description": "A user on Desktop leaves the website with the cursor.",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clurwouax000czffx4wj0qldi",
"name": "Exit Intent (Desktop)",
"noCodeConfig": null,
"type": "automatic",
"updatedAt": "2024-04-09T04:53:29.577Z"
},
{
"createdAt": "2024-04-09T04:53:29.577Z",
"description": "A user scrolled 50% of the current page",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clurwouax000dzffx3dfxc91d",
"name": "50% Scroll",
"noCodeConfig": null,
"type": "automatic",
"updatedAt": "2024-04-09T04:53:29.577Z"
},
{
"createdAt": "2024-04-22T08:59:01.144Z",
"description": "hhehe",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvaq6nx40000mhqfuu74rv92",
"name": "new_action_v2",
"noCodeConfig": null,
"type": "code",
"updatedAt": "2024-04-22T09:03:55.509Z"
},
{
"createdAt": "2024-04-22T09:04:30.756Z",
"description": null,
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvaqdq8z000bmhqfu0km5rv4",
"name": "new_action_v20",
"noCodeConfig": null,
"type": "code",
"updatedAt": "2024-04-22T09:04:30.756Z"
},
{
"createdAt": "2024-04-23T07:11:17.032Z",
"description": null,
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvc1ryuf0001494jc8oesfwl",
"name": "new_action_v1",
"noCodeConfig": null,
"type": "code",
"updatedAt": "2024-04-23T07:11:17.032Z"
}
]
}
Headers
Response
200
application/json
OK
The response is of type object
.
Was this page helpful?
curl --request GET \
--url http:///%7B{baseurl}%7D/api/v1/management/action-classes \
--header 'x-Api-Key: <x-api-key>'
{
"data": [
{
"createdAt": "2024-04-09T04:53:29.577Z",
"description": "Gets fired when a new session is created",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clurwouax000bzffxv3fqy6mt",
"name": "New Session",
"noCodeConfig": null,
"type": "automatic",
"updatedAt": "2024-04-09T04:53:29.577Z"
},
{
"createdAt": "2024-04-09T04:53:29.577Z",
"description": "A user on Desktop leaves the website with the cursor.",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clurwouax000czffx4wj0qldi",
"name": "Exit Intent (Desktop)",
"noCodeConfig": null,
"type": "automatic",
"updatedAt": "2024-04-09T04:53:29.577Z"
},
{
"createdAt": "2024-04-09T04:53:29.577Z",
"description": "A user scrolled 50% of the current page",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clurwouax000dzffx3dfxc91d",
"name": "50% Scroll",
"noCodeConfig": null,
"type": "automatic",
"updatedAt": "2024-04-09T04:53:29.577Z"
},
{
"createdAt": "2024-04-22T08:59:01.144Z",
"description": "hhehe",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvaq6nx40000mhqfuu74rv92",
"name": "new_action_v2",
"noCodeConfig": null,
"type": "code",
"updatedAt": "2024-04-22T09:03:55.509Z"
},
{
"createdAt": "2024-04-22T09:04:30.756Z",
"description": null,
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvaqdq8z000bmhqfu0km5rv4",
"name": "new_action_v20",
"noCodeConfig": null,
"type": "code",
"updatedAt": "2024-04-22T09:04:30.756Z"
},
{
"createdAt": "2024-04-23T07:11:17.032Z",
"description": null,
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvc1ryuf0001494jc8oesfwl",
"name": "new_action_v1",
"noCodeConfig": null,
"type": "code",
"updatedAt": "2024-04-23T07:11:17.032Z"
}
]
}