Pular para o conteúdo

POST /v1/contacts/import/columns

POST
/v1/contacts/import/columns
curl --request POST \
--url https://seu-endereco-da-api/v1/contacts/import/columns \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "headers": [ "example" ] }'

Permissão que a Chave de acesso precisa: Importar contatos (contacts:import).

Media typeapplication/json
object
headers
required
Array<string>
<= 500 items

Example generated

{
"headers": [
"example"
]
}

The custom field each spreadsheet header links to, by label or key, and the fields a column can hold

Media typeapplication/json
object
columns
required
Array<object>
object
header
required
string
fieldKey
required
string
nullable
fields
required
Array<object>
object
key
required
string
label
required
string
type
required
string

Example generated

{
"columns": [
{
"header": "example",
"fieldKey": "example"
}
],
"fields": [
{
"key": "example",
"label": "example",
"type": "example"
}
]
}