Get Header List

GET https://restapi.actonsoftware.com/api/1/header

This endpoint allows you to download the list of headers 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})

Response

{
  "count": 0,
  "totalCount": 0,
  "offset": 0,
  "result": [
    {
      "id": 0,
      "title": "Default",
      "text": "To view this message in a browser:rnhttp://ci61.actonservice.com/acton/rif/42415/{{Env.MsgId}}/-/{{Env.RecId}}/{{Env.SrcId}}/showPreparedMessagern rn",
      "html": "<a class="msgHeader" href="http://ci61.actonservice.com/acton/rif/42415/{{Env.MsgId}}/-/{{Env.RecId}}/{{Env.SrcId}}/showPreparedMessage">Click here</a> to view this message in a browser window."
    }
  ]
}

 

Code Examples

cURLPython

curl -X GET https://restapi.actonsoftware.com/api/1/header -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"

import requests

url = "https://restapi.actonsoftware.com/api/1/header"

payload = {}
headers = {
  'Authorization': 'Bearer 12345678-9abc-defg-hijk-lmnopqrs'
}

response = requests.request("GET", url, headers=headers, data = payload)

print(response.text.encode('utf8'))