List custom actions
Returns all custom action definitions in the workspace. Use this to discover the numeric codes (for the Sync API) or ACTION_-prefixed codes (for the Async API) before posting actions.
Request
| Field | Value |
|---|---|
| Method | GET |
| URL | https://next.telecrm.in/autoupdate/v2/enterprise/{enterpriseId}/custom-actions |
| Auth | Bearer token (Sync-typed). See Authentication. |
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
enterpriseId | string | yes | The enterprise (workspace) ID. |
Query parameters
| Name | Type | Default | Description |
|---|---|---|---|
detail | boolean | false | When true, returns full action definitions including IDs, schemas, backdating config, and timestamps. When false, returns a summary with code, displayName, score, and source. |
Example request
bash
curl "https://next.telecrm.in/autoupdate/v2/enterprise/{enterpriseId}/custom-actions" \
-H "Authorization: Bearer YOUR_SYNC_TOKEN"Responses
200 OK (summary, detail=false)
json
{
"customActions": [
{
"code": "ACTION_1001",
"displayName": "Site Visit",
"score": 10,
"source": "USER"
},
{
"code": "ACTION_1002",
"displayName": "Demo Booked",
"score": 20,
"source": "USER"
}
]
}The code is ACTION_<numeric>. The Sync API uses the bare numeric portion (1001); the Async API uses the full code (ACTION_1001). See Actions.
200 OK (detailed, detail=true)
Adds id, description, fieldSchema, displaySchema, allowPredatedActivity, quickAdd, definitionType, createdOn, createdBy, modifiedOn, modifiedBy to each entry.
401 Unauthorized
See the universal 401 in the overview.
404 Not Found
json
{
"error": {
"code": "ENTERPRISE_NOT_FOUND",
"message": "The enterprise with ID 62ab16e was not found."
}
}Notes
source: USERactions are workspace-defined;source: SYSTEMactions are baked-in. Both are listed.scoreis used in lead scoring — every time the action is recorded, the lead's score increases by this amount.- Use
allowPredatedActivity(in detailed mode) to discover whethercreated_onis accepted as an input on the action's body.