channels.evolution_profile_update
Trocar nome, recado ou foto do WhatsApp de um número por QR. Manda um ou mais: name (nome do perfil), about (recado, até 139 caracteres), photo (imagem JPEG/PNG de até 5 MB em base64) ou removePhoto: true. Grava direto no WhatsApp e devolve o perfil lido de novo. Só pela interface e API de administrador.
- Endpoint:
POST https://app.atomiks.com.br/api/v1/channels.evolution_profile_update(corpo JSON) - Quem pode chamar: administrador da conta
- Escopo da chave:
channels:write - Grava dados: sim
- Pela chave de API: sim
- Ferramenta MCP:
channels_evolution_profile_update - Ficha em JSON:
https://app.atomiks.com.br/api/v1/openapi.json(operationIdchannels.evolution_profile_update)
Entrada
| Campo | Tipo | Obrigatório | Nota |
|---|---|---|---|
channelId | string (uuid) | sim | |
name | string | não | |
about | string | não | |
photo | object | não | |
removePhoto | boolean | não |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"channelId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 25
},
"about": {
"type": "string",
"maxLength": 139
},
"photo": {
"type": "object",
"properties": {
"mimeType": {
"type": "string",
"enum": [
"image/jpeg",
"image/png"
]
},
"dataBase64": {
"type": "string",
"minLength": 1,
"maxLength": 7340032
}
},
"required": [
"mimeType",
"dataBase64"
]
},
"removePhoto": {
"type": "boolean"
}
},
"required": [
"channelId"
]
}Exemplo
curl -X POST https://app.atomiks.com.br/api/v1/channels.evolution_profile_update \
-H "Authorization: Bearer $ATOMIKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"channelId":"00000000-0000-0000-0000-000000000000","about":"Atendimento de segunda a sexta"}'CLI:
node cli/atomiks.mjs channels.evolution_profile_update --json '{"channelId":"00000000-0000-0000-0000-000000000000","about":"Atendimento de segunda a sexta"}'MCP: ferramenta channels_evolution_profile_update com a mesma entrada.
Saída
Sucesso: {"data": ...} com o formato abaixo.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"about": {
"type": [
"string",
"null"
]
},
"pictureUrl": {
"type": [
"string",
"null"
]
},
"phone": {
"type": [
"string",
"null"
]
}
},
"required": [
"name",
"about",
"pictureUrl",
"phone"
],
"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).