Add a Contact

Scott Wallace
Scott Wallace
  • Updated
POST https://api.actonsoftware.com/api/1/list/{listid}/record

This endpoint allows you to add a record to a specified list.

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

POST https://api-eu.actonsoftware.com/api/1/list/{listid}/record

Parameters

Name Parameter
Type
Allow
Multiple
Required/
Optional
Data Type Description
Authorization Header False Required String Insert your generated access token.
("Bearer {access token}")
Content-Type Header False Required String Specify the content type.
("application/json")
listid Path False Required String Specify the list ID of the list you would like to add the record.
  Body False Required String A JSON formatted object to describe the structure of the record that is being added.
returncontact Query N Optional String Would you like the data of the record added in the response body?
("Y", "N")

 

Response

{
  "status": "success",
  "message": "Record inserted",
  "id": "l-0002:3",
  "contact_id": "l-0002:3"
}

 

Code Examples

cURL

curl -X POST https://api.actonsoftware.com/api/1/list/l-0002/record -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs" -H "Content-Type: application/json" -d '{"E-mail Address":"john.doe@act-on.com","First Name":"John","Last Name":"Doe"}'

 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request