---
updatedAt: 2026-04-22T17:02:29.000Z
agentTools:
  projectIndex: https://developers.rdstation.com/llms.txt
---

# Contato atualizado

Esse evento de webhook é disparado quando um contato é atualizado.

# OpenAPI definition

```json
{
  "openapi": "3.1.1",
  "info": {
    "title": "RD Station CRM API v2",
    "version": "2.0",
    "description": "Esta documentação detalha os end-points e webhooks disponíveis na API v2 do RD Station CRM.\n\n# Autenticação\n\nA API v2 do RD Station CRM utiliza o padrão OAuth 2.0 para autenticação e autorização. Para acessar os recursos da API, você precisará obter um token de acesso. O fluxo de autorização é o `authorizationCode`.",
    "license": {
      "name": "Termos de Uso do Software RD Station CRM",
      "url": "https://legal.rdstation.com/pt/rdstation-crm-services-agreement/"
    },
    "termsOfService": "https://legal.rdstation.com/pt/rdstation-crm-services-agreement/",
    "contact": {
      "name": "Suporte RD Station",
      "url": "https://developers.rdstation.com/docs/suporte"
    }
  },
  "externalDocs": {
    "description": "Documentação completa",
    "url": "https://developers.rdstation.com/crm-v2"
  },
  "servers": [
    {
      "url": "https://api.rd.services/crm/v2",
      "description": "Production"
    }
  ],
  "security": [
    {
      "OAuth2": []
    }
  ],
  "tags": [
    {
      "name": "crm-v2-contacts",
      "description": "Contatos"
    },
    {
      "name": "crm-v2-webhook-events",
      "description": "Eventos de webhook"
    }
  ],
  "webhooks": {
    "crm_contact_updated": {
      "post": {
        "summary": "Contato atualizado",
        "operationId": "crm-v2-webhook-event-crm-contact-updated",
        "tags": [
          "crm-v2-webhook-events",
          "crm-v2-contacts"
        ],
        "description": "Esse evento de webhook é disparado quando um contato é atualizado.",
        "security": [],
        "requestBody": {
          "description": "O conteúdo enviado ao seu end-point quando o evento é disparado.",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/WebhookEvent"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "event_name": {
                        "const": "crm_contact_updated"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "document": {
                        "$ref": "#/components/schemas/Contact"
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "$ref": "#/components/responses/WebhookEventAccepted"
          },
          "default": {
            "$ref": "#/components/responses/WebhookEventRejected"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "description": "Para mais informações, veja: [Autenticação](crm-v2-authentication).",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "/oauth/authorize",
            "tokenUrl": "/oauth/token",
            "scopes": {}
          }
        }
      }
    },
    "responses": {
      "WebhookEventAccepted": {
        "description": "O evento é considerado aceito retornando qualquer código de resposta 2XX."
      },
      "WebhookEventRejected": {
        "description": "O evento é considerado rejeitado para qualquer outro código de resposta. A emissão do evento será repetida posteriormente."
      }
    },
    "schemas": {
      "Contact": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Identificador único.",
            "type": "string",
            "pattern": "^[0-9a-f]{24}$",
            "readOnly": true
          },
          "name": {
            "description": "Nome do contato.",
            "type": "string"
          },
          "job_title": {
            "description": "Cargo do contato.",
            "type": "string"
          },
          "emails": {
            "description": "Emails do contato.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Email"
            }
          },
          "phones": {
            "description": "Telefones do contato.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Phone"
            }
          },
          "whatsapp_username": {
            "description": "Username do WhatsApp do contato.",
            "type": "string"
          },
          "birthday": {
            "description": "Data de aniversário do contato. Formato: `YYYY-MM-DD`. Caso só tenha o mês e o dia, use `0000-MM-DD`.",
            "type": "string",
            "format": "date"
          },
          "social_profiles": {
            "description": "Perfis sociais do contato.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SocialProfile"
            }
          },
          "organization_id": {
            "description": "ID da organização.",
            "type": "string",
            "pattern": "^[0-9a-f]{24}$"
          },
          "legal_bases": {
            "description": "Bases legais para o contato. ([Saiba mais](crm-v2-introduction#bases-legais))",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LegalBase"
            }
          },
          "custom_fields": {
            "description": "Campos personalizados do contato.",
            "$ref": "#/components/schemas/CustomFields"
          },
          "created_at": {
            "description": "Data de criação do contato.",
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "updated_at": {
            "description": "Data de atualização do contato.",
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        }
      },
      "CustomFields": {
        "type": "object",
        "additionalProperties": {
          "description": "Define o valor de um campo personalizado sendo a chave o `slug` do campo personalizado e o valor deve ser do tipo correspondente ao tipo definido no campo personalizado.",
          "type": "string"
        }
      },
      "Email": {
        "type": "object",
        "properties": {
          "email": {
            "description": "Endereço de email.",
            "type": "string"
          }
        }
      },
      "LegalBase": {
        "type": "object",
        "properties": {
          "category": {
            "description": "A categoria relativa à base legal.",
            "type": "string",
            "enum": [
              "communications"
            ]
          },
          "type": {
            "description": "Qual base legal autoriza o tratamento dos dados pessoais.",
            "type": "string",
            "enum": [
              "consent",
              "legitimate_interest",
              "pre_existent_contract",
              "judicial_process",
              "vital_interest",
              "public_interest"
            ]
          },
          "status": {
            "description": "Status da base legal.",
            "type": "string",
            "enum": [
              "granted",
              "declined"
            ],
            "x-enumDescriptions": {
              "granted": "Consentimento concedido pelo contato.",
              "declined": "Consentimento recusado pelo contato."
            }
          }
        }
      },
      "Phone": {
        "type": "object",
        "properties": {
          "phone": {
            "description": "Telefone.",
            "type": "string"
          },
          "type": {
            "description": "Tipo do telefone.",
            "type": "string",
            "enum": [
              "work",
              "fax",
              "home",
              "mobile"
            ]
          }
        }
      },
      "SocialProfile": {
        "type": "object",
        "properties": {
          "type": {
            "description": "Tipo de perfil social.",
            "type": "string",
            "enum": [
              "facebook",
              "linkedin",
              "skype"
            ]
          },
          "username": {
            "description": "Nome de usuário.",
            "type": "string"
          }
        }
      },
      "WebhookEvent": {
        "type": "object",
        "properties": {
          "event_name": {
            "description": "Tipo de evento do webhook.",
            "type": "string",
            "example": "crm_deal_created"
          },
          "event_timestamp": {
            "description": "A data em que ocorreu o evento que acionou o webhook.",
            "type": "string",
            "format": "date-time",
            "example": "2025-01-01T00:00:00.000Z"
          },
          "transaction_uuid": {
            "description": "Identificador único do evento.",
            "type": "string",
            "format": "uuid",
            "example": "00000000-0052-4400-B753-746174696F6E"
          },
          "document": {
            "description": "Documento relacionado ao evento do webhook.",
            "type": "object"
          }
        }
      }
    }
  }
}
```