crm.list_create
Criar lista de contatos. Lista manual. Nome único na conta sem diferenciar maiúsculas; se já existe, devolve a existente.
- Endpoint:
POST https://app.atomiks.com.br/api/v1/crm.list_create(corpo JSON) - Quem pode chamar: membro da conta
- Escopo da chave:
crm:write - Grava dados: sim
- Pela chave de API: sim
- Ferramenta MCP:
crm_list_create - Ficha em JSON:
https://app.atomiks.com.br/api/v1/openapi.json(operationIdcrm.list_create)
Entrada
| Campo | Tipo | Obrigatório | Nota |
|---|---|---|---|
name | string | sim |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
}
},
"required": [
"name"
]
}Exemplo
curl -X POST https://app.atomiks.com.br/api/v1/crm.list_create \
-H "Authorization: Bearer $ATOMIKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Clientes de outubro"}'CLI:
node cli/atomiks.mjs crm.list_create --json '{"name":"Clientes de outubro"}'MCP: ferramenta crm_list_create com a mesma entrada.
Saída
Sucesso: {"data": ...} com o formato abaixo.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
}Erros
{"error": {"code", "message", "requestId"}}. Códigos: invalid_input (400), unauthorized (401), forbidden / account_pending / scope_missing (403), not_found (404), limit_reached (409), internal (500).