Add a Header

Scott Wallace
Scott Wallace
  • Updated
POST https://api.actonsoftware.com/api/1/header

This endpoint allows you to add a header to the account.

POST https://api-eu.actonsoftware.com/api/1/header

Parameters

Name Parameter
Type
Allow
Multiple
Required/
Optional
Data Type Description
Authorization: Header False Required String Insert your generated access token.
("Bearer {access token}")
HTML form False Required String Specify valid HTML for the header.
text form False Required String Specify the text version of the header.
title form False Required String Specify a title for the header


Parameter Notes

HTML

Any graphical elements must be referenced using an absolute path.

Response

{
  "status": "Success",
  "message": "Header added.",
  "id": "1"
}

 

Code Examples

cURL

curl -X POST https://api.actonsoftware.com/api/1/header/ -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs" -H "Content-Type: application/x-www-form-urlencoded" -d 'title=alternate-header' -d 'html=Example HTML HERE' -d 'text=Example TEXT Version Here'

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request