Get List of Assets

Scott Wallace
Scott Wallace
  • Updated
GET https://api.actonsoftware.com/api/1/list

This endpoint allows you to pull a list of assets that include data such as the name and ID associated with the asset.

Customers wanting to access our API via our gateway in the EU can use this link: 

GET https://api-eu.actonsoftware.com/api/1/list

Parameters

Name Parameter
Type
Allow
Multiple
Required/
Optional
Data Type Description
Authorization: Header False Required String Insert your generated access token.
(Bearer {access token})
listingtype Query false Optional String Specify the type of assets to pull using one of the following values.
("contact_list", "header", "footer", "sender", "media", "pages", "custom_events", "template_message", "draft_message", "landing_page", "sent_message", "triggered_message", "test_message", "failed_message", "scheduled_message")
count Query false Optional String Specify the number of elements to fetch.
(Maximum=1000)
offset Query False Optional String Specify the element offset to begin the fetch.
(Default=0)

 

Response

[
  {
    "entries": [
      {
        "creation_time": "1570517373000",
        "modified": "1570517373000",
        "id": "p-0002",
        "title": "Exampletest",
        "url": "http://ci61.actonservice.com/acton/fs/blocks/showLandingPage/a/42415/p/p-0002/t/page/fm/0",
        "tags": "[]"
      }
    ],
    "folder": "Default Folder"
  }
]

 

Code Examples

cURL

curl -X GET https://api.actonsoftware.com/api/1/list?listingtype=CONTACT_LIST -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request