Skip to main content
POST
/
api
/
cdp
/
schema
/
table
Criar uma Tabela
curl --request POST \
  --url https://cdp.analytics.synapside.com/api/cdp/schema/table \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "table_name": "leads",
  "columns": [
    {
      "name": "email",
      "type": "TEXT",
      "comment": "Endereço de e-mail principal do lead."
    }
  ],
  "comment": "Tabela para armazenamento de leads capturados em campanhas de marketing."
}
'
{
  "success": true,
  "message": "<string>",
  "table": "<string>",
  "columns": [
    "<string>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.analytics.synapside.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
table_name
string
required
Example:

"leads"

columns
object[]
required
comment
string
Example:

"Tabela para armazenamento de leads capturados em campanhas de marketing."

Response

Tabela criada com sucesso.

success
boolean
message
string
table
string
columns
string[]