GET https://restapi.actonsoftware.com/api/1/program
This endpoint allows you to download the list of automated programs, webinars or list maintenance programs from the account.
Parameters
Name | Parameter Type |
Allow Multiple |
Required/ Optional |
Data Type | Description |
---|---|---|---|---|---|
Authorization: | Header | False | Required | String | Insert your generated access token. (Bearer {access token}) |
type | Query | False | Required | String | Specify the type of program you would like returned. ("TRACK", "EVENT", "LIST_MAINT") |
Parameter Notes
type
TRACK returns Automated Programs
EVENT returns upcoming Webinar events
LIST_MAINT returns List Maintenance Programs
Response
{ "folders": [ { "id": -1, "name": "", "programs": [ { "id": "tr-0001", "name": "Example", "isFavorite": false, "description": "", "srcIds": [], "srcNames": [], "messageIds": [], "createdTS": 1570492379546, "created": "Oct 7 2019 11:52 AM GMT-12:00", "modifiedTs": 0, "modified": "Oct 7 2019 11:52 AM GMT-12:00", "nextrunTS": 0, "nextrun": null, "progstate": "draft", "valid": false, "running": false, "active": 0, "tagNames": [], "scheduled": false } ] } ], "anyRunning": false }
Code Examples
cURL
curl -X GET https://restapi.actonsoftware.com/api/1/program?type=TRACK -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"