post

/dataspace/tables

CreateTable

CreateTable API call is used to create a data table in the relational database of dEngage Platform.

API is able to create Standalone data tables as well as Sendable data tables.

The only exception is the master_contact table which comes predefined and created with the initial system installation.

contactKeyColumn column’s data type must be text.

Request Parameters

1 Header

Request Body

1 Example
Schema
object
name
string

the name of the table to be created

required
folderId
string

Folder Id where the created table is under

3 validations
description
string

the description of the table.

contactKeyColumn
string

The contact key column referring to master_contact table’s contact_key column. If not set, the table is created as a standalone table.

If set, the new table is connected to master_contact table with contact_key column. Please note that all values in contact key column will be created in master_contact table if they don’t exist.

columns
array[object]

Column definitions for the new table.

required

Responses

The operation is successful. tableId fields contains the newly created table id.

1 Example
Schema
object
transactionId
string
code
integer
message
string
data
object

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
1 variable not set
access_token