Custom Tables

Custom table schema is defined dynamically for each table. A custom table payload must match that table's schema and data types to be valid.
Additionally, all records must include the EmailAddress of the associated contact.

Schema

Custom Table schema (ColumnName and DataType for each column) can be retrieved from the Contacts/CustomTables/Schema/{TableName} endpoint.

Example JSON payload

{
	"rows": [
		{
			"EmailAddress": "example1@example.org",
			"ColumnNameOne": "Row1ColumnValueOne",
			"ColumnNameTwo": "Row1ColumnValueTwo"
		},
		{ 
			"EmailAddress": "example2@example.org",
			"ColumnNameOne": "Row2ColumnValueOne",
			"ColumnNameTwo": "Row2ColumnValueTwo"
		}
	]
}