user_updated
curl --request POST \
--url https://nexus.ticto.com.br/api/v1/webhook-events/user_updated \
--header 'Content-Type: application/json' \
--data '
{
"event": "user_updated",
"endpoint": "https://api.meusite.com/webhook/nexus",
"payload": {
"code": "JXAWHIB2HN1756369698",
"name": "João da Silva",
"email": "joao@email.com",
"type": "person",
"is_approved": true,
"status": "approved",
"reason": null,
"is_registration_completed": true,
"address": [
{
"zip_code": "01234-567",
"city": "São Paulo",
"state": "SP",
"country": "BR",
"street": "Rua das Flores",
"street_number": "123",
"neighborhood": "Centro",
"complement": "Apto 42",
"reference": null
}
],
"public_token": "pk_abc123def456",
"created_at": "2026-01-15 14:30:00",
"cpf": "12345678909"
},
"metadata": {
"origin": "nexus",
"request_id": "67be1a2f3c4d5",
"correlation_id": null
},
"created_at": "2026-02-25T10:00:00.000000Z",
"updated_at": "2026-02-25T10:00:00.000000Z"
}
'import requests
url = "https://nexus.ticto.com.br/api/v1/webhook-events/user_updated"
payload = {
"event": "user_updated",
"endpoint": "https://api.meusite.com/webhook/nexus",
"payload": {
"code": "JXAWHIB2HN1756369698",
"name": "João da Silva",
"email": "joao@email.com",
"type": "person",
"is_approved": True,
"status": "approved",
"reason": None,
"is_registration_completed": True,
"address": [
{
"zip_code": "01234-567",
"city": "São Paulo",
"state": "SP",
"country": "BR",
"street": "Rua das Flores",
"street_number": "123",
"neighborhood": "Centro",
"complement": "Apto 42",
"reference": None
}
],
"public_token": "pk_abc123def456",
"created_at": "2026-01-15 14:30:00",
"cpf": "12345678909"
},
"metadata": {
"origin": "nexus",
"request_id": "67be1a2f3c4d5",
"correlation_id": None
},
"created_at": "2026-02-25T10:00:00.000000Z",
"updated_at": "2026-02-25T10:00:00.000000Z"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
event: 'user_updated',
endpoint: 'https://api.meusite.com/webhook/nexus',
payload: {
code: 'JXAWHIB2HN1756369698',
name: 'João da Silva',
email: 'joao@email.com',
type: 'person',
is_approved: true,
status: 'approved',
reason: null,
is_registration_completed: true,
address: [
{
zip_code: '01234-567',
city: 'São Paulo',
state: 'SP',
country: 'BR',
street: 'Rua das Flores',
street_number: '123',
neighborhood: 'Centro',
complement: 'Apto 42',
reference: null
}
],
public_token: 'pk_abc123def456',
created_at: '2026-01-15 14:30:00',
cpf: '12345678909'
},
metadata: {origin: 'nexus', request_id: '67be1a2f3c4d5', correlation_id: null},
created_at: '2026-02-25T10:00:00.000000Z',
updated_at: '2026-02-25T10:00:00.000000Z'
})
};
fetch('https://nexus.ticto.com.br/api/v1/webhook-events/user_updated', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://nexus.ticto.com.br/api/v1/webhook-events/user_updated",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'event' => 'user_updated',
'endpoint' => 'https://api.meusite.com/webhook/nexus',
'payload' => [
'code' => 'JXAWHIB2HN1756369698',
'name' => 'João da Silva',
'email' => 'joao@email.com',
'type' => 'person',
'is_approved' => true,
'status' => 'approved',
'reason' => null,
'is_registration_completed' => true,
'address' => [
[
'zip_code' => '01234-567',
'city' => 'São Paulo',
'state' => 'SP',
'country' => 'BR',
'street' => 'Rua das Flores',
'street_number' => '123',
'neighborhood' => 'Centro',
'complement' => 'Apto 42',
'reference' => null
]
],
'public_token' => 'pk_abc123def456',
'created_at' => '2026-01-15 14:30:00',
'cpf' => '12345678909'
],
'metadata' => [
'origin' => 'nexus',
'request_id' => '67be1a2f3c4d5',
'correlation_id' => null
],
'created_at' => '2026-02-25T10:00:00.000000Z',
'updated_at' => '2026-02-25T10:00:00.000000Z'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://nexus.ticto.com.br/api/v1/webhook-events/user_updated"
payload := strings.NewReader("{\n \"event\": \"user_updated\",\n \"endpoint\": \"https://api.meusite.com/webhook/nexus\",\n \"payload\": {\n \"code\": \"JXAWHIB2HN1756369698\",\n \"name\": \"João da Silva\",\n \"email\": \"joao@email.com\",\n \"type\": \"person\",\n \"is_approved\": true,\n \"status\": \"approved\",\n \"reason\": null,\n \"is_registration_completed\": true,\n \"address\": [\n {\n \"zip_code\": \"01234-567\",\n \"city\": \"São Paulo\",\n \"state\": \"SP\",\n \"country\": \"BR\",\n \"street\": \"Rua das Flores\",\n \"street_number\": \"123\",\n \"neighborhood\": \"Centro\",\n \"complement\": \"Apto 42\",\n \"reference\": null\n }\n ],\n \"public_token\": \"pk_abc123def456\",\n \"created_at\": \"2026-01-15 14:30:00\",\n \"cpf\": \"12345678909\"\n },\n \"metadata\": {\n \"origin\": \"nexus\",\n \"request_id\": \"67be1a2f3c4d5\",\n \"correlation_id\": null\n },\n \"created_at\": \"2026-02-25T10:00:00.000000Z\",\n \"updated_at\": \"2026-02-25T10:00:00.000000Z\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://nexus.ticto.com.br/api/v1/webhook-events/user_updated")
.header("Content-Type", "application/json")
.body("{\n \"event\": \"user_updated\",\n \"endpoint\": \"https://api.meusite.com/webhook/nexus\",\n \"payload\": {\n \"code\": \"JXAWHIB2HN1756369698\",\n \"name\": \"João da Silva\",\n \"email\": \"joao@email.com\",\n \"type\": \"person\",\n \"is_approved\": true,\n \"status\": \"approved\",\n \"reason\": null,\n \"is_registration_completed\": true,\n \"address\": [\n {\n \"zip_code\": \"01234-567\",\n \"city\": \"São Paulo\",\n \"state\": \"SP\",\n \"country\": \"BR\",\n \"street\": \"Rua das Flores\",\n \"street_number\": \"123\",\n \"neighborhood\": \"Centro\",\n \"complement\": \"Apto 42\",\n \"reference\": null\n }\n ],\n \"public_token\": \"pk_abc123def456\",\n \"created_at\": \"2026-01-15 14:30:00\",\n \"cpf\": \"12345678909\"\n },\n \"metadata\": {\n \"origin\": \"nexus\",\n \"request_id\": \"67be1a2f3c4d5\",\n \"correlation_id\": null\n },\n \"created_at\": \"2026-02-25T10:00:00.000000Z\",\n \"updated_at\": \"2026-02-25T10:00:00.000000Z\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://nexus.ticto.com.br/api/v1/webhook-events/user_updated")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"event\": \"user_updated\",\n \"endpoint\": \"https://api.meusite.com/webhook/nexus\",\n \"payload\": {\n \"code\": \"JXAWHIB2HN1756369698\",\n \"name\": \"João da Silva\",\n \"email\": \"joao@email.com\",\n \"type\": \"person\",\n \"is_approved\": true,\n \"status\": \"approved\",\n \"reason\": null,\n \"is_registration_completed\": true,\n \"address\": [\n {\n \"zip_code\": \"01234-567\",\n \"city\": \"São Paulo\",\n \"state\": \"SP\",\n \"country\": \"BR\",\n \"street\": \"Rua das Flores\",\n \"street_number\": \"123\",\n \"neighborhood\": \"Centro\",\n \"complement\": \"Apto 42\",\n \"reference\": null\n }\n ],\n \"public_token\": \"pk_abc123def456\",\n \"created_at\": \"2026-01-15 14:30:00\",\n \"cpf\": \"12345678909\"\n },\n \"metadata\": {\n \"origin\": \"nexus\",\n \"request_id\": \"67be1a2f3c4d5\",\n \"correlation_id\": null\n },\n \"created_at\": \"2026-02-25T10:00:00.000000Z\",\n \"updated_at\": \"2026-02-25T10:00:00.000000Z\"\n}"
response = http.request(request)
puts response.read_bodyWebhooks: Usuários
user_updated
Disparado quando qualquer dado do usuário é alterado no sistema.
Quando ocorre:
- Alteração de dados cadastrais (nome, e-mail, documento)
- Mudança de status de aprovação
- Atualização de endereço
POST
/
webhook-events
/
user_updated
user_updated
curl --request POST \
--url https://nexus.ticto.com.br/api/v1/webhook-events/user_updated \
--header 'Content-Type: application/json' \
--data '
{
"event": "user_updated",
"endpoint": "https://api.meusite.com/webhook/nexus",
"payload": {
"code": "JXAWHIB2HN1756369698",
"name": "João da Silva",
"email": "joao@email.com",
"type": "person",
"is_approved": true,
"status": "approved",
"reason": null,
"is_registration_completed": true,
"address": [
{
"zip_code": "01234-567",
"city": "São Paulo",
"state": "SP",
"country": "BR",
"street": "Rua das Flores",
"street_number": "123",
"neighborhood": "Centro",
"complement": "Apto 42",
"reference": null
}
],
"public_token": "pk_abc123def456",
"created_at": "2026-01-15 14:30:00",
"cpf": "12345678909"
},
"metadata": {
"origin": "nexus",
"request_id": "67be1a2f3c4d5",
"correlation_id": null
},
"created_at": "2026-02-25T10:00:00.000000Z",
"updated_at": "2026-02-25T10:00:00.000000Z"
}
'import requests
url = "https://nexus.ticto.com.br/api/v1/webhook-events/user_updated"
payload = {
"event": "user_updated",
"endpoint": "https://api.meusite.com/webhook/nexus",
"payload": {
"code": "JXAWHIB2HN1756369698",
"name": "João da Silva",
"email": "joao@email.com",
"type": "person",
"is_approved": True,
"status": "approved",
"reason": None,
"is_registration_completed": True,
"address": [
{
"zip_code": "01234-567",
"city": "São Paulo",
"state": "SP",
"country": "BR",
"street": "Rua das Flores",
"street_number": "123",
"neighborhood": "Centro",
"complement": "Apto 42",
"reference": None
}
],
"public_token": "pk_abc123def456",
"created_at": "2026-01-15 14:30:00",
"cpf": "12345678909"
},
"metadata": {
"origin": "nexus",
"request_id": "67be1a2f3c4d5",
"correlation_id": None
},
"created_at": "2026-02-25T10:00:00.000000Z",
"updated_at": "2026-02-25T10:00:00.000000Z"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
event: 'user_updated',
endpoint: 'https://api.meusite.com/webhook/nexus',
payload: {
code: 'JXAWHIB2HN1756369698',
name: 'João da Silva',
email: 'joao@email.com',
type: 'person',
is_approved: true,
status: 'approved',
reason: null,
is_registration_completed: true,
address: [
{
zip_code: '01234-567',
city: 'São Paulo',
state: 'SP',
country: 'BR',
street: 'Rua das Flores',
street_number: '123',
neighborhood: 'Centro',
complement: 'Apto 42',
reference: null
}
],
public_token: 'pk_abc123def456',
created_at: '2026-01-15 14:30:00',
cpf: '12345678909'
},
metadata: {origin: 'nexus', request_id: '67be1a2f3c4d5', correlation_id: null},
created_at: '2026-02-25T10:00:00.000000Z',
updated_at: '2026-02-25T10:00:00.000000Z'
})
};
fetch('https://nexus.ticto.com.br/api/v1/webhook-events/user_updated', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://nexus.ticto.com.br/api/v1/webhook-events/user_updated",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'event' => 'user_updated',
'endpoint' => 'https://api.meusite.com/webhook/nexus',
'payload' => [
'code' => 'JXAWHIB2HN1756369698',
'name' => 'João da Silva',
'email' => 'joao@email.com',
'type' => 'person',
'is_approved' => true,
'status' => 'approved',
'reason' => null,
'is_registration_completed' => true,
'address' => [
[
'zip_code' => '01234-567',
'city' => 'São Paulo',
'state' => 'SP',
'country' => 'BR',
'street' => 'Rua das Flores',
'street_number' => '123',
'neighborhood' => 'Centro',
'complement' => 'Apto 42',
'reference' => null
]
],
'public_token' => 'pk_abc123def456',
'created_at' => '2026-01-15 14:30:00',
'cpf' => '12345678909'
],
'metadata' => [
'origin' => 'nexus',
'request_id' => '67be1a2f3c4d5',
'correlation_id' => null
],
'created_at' => '2026-02-25T10:00:00.000000Z',
'updated_at' => '2026-02-25T10:00:00.000000Z'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://nexus.ticto.com.br/api/v1/webhook-events/user_updated"
payload := strings.NewReader("{\n \"event\": \"user_updated\",\n \"endpoint\": \"https://api.meusite.com/webhook/nexus\",\n \"payload\": {\n \"code\": \"JXAWHIB2HN1756369698\",\n \"name\": \"João da Silva\",\n \"email\": \"joao@email.com\",\n \"type\": \"person\",\n \"is_approved\": true,\n \"status\": \"approved\",\n \"reason\": null,\n \"is_registration_completed\": true,\n \"address\": [\n {\n \"zip_code\": \"01234-567\",\n \"city\": \"São Paulo\",\n \"state\": \"SP\",\n \"country\": \"BR\",\n \"street\": \"Rua das Flores\",\n \"street_number\": \"123\",\n \"neighborhood\": \"Centro\",\n \"complement\": \"Apto 42\",\n \"reference\": null\n }\n ],\n \"public_token\": \"pk_abc123def456\",\n \"created_at\": \"2026-01-15 14:30:00\",\n \"cpf\": \"12345678909\"\n },\n \"metadata\": {\n \"origin\": \"nexus\",\n \"request_id\": \"67be1a2f3c4d5\",\n \"correlation_id\": null\n },\n \"created_at\": \"2026-02-25T10:00:00.000000Z\",\n \"updated_at\": \"2026-02-25T10:00:00.000000Z\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://nexus.ticto.com.br/api/v1/webhook-events/user_updated")
.header("Content-Type", "application/json")
.body("{\n \"event\": \"user_updated\",\n \"endpoint\": \"https://api.meusite.com/webhook/nexus\",\n \"payload\": {\n \"code\": \"JXAWHIB2HN1756369698\",\n \"name\": \"João da Silva\",\n \"email\": \"joao@email.com\",\n \"type\": \"person\",\n \"is_approved\": true,\n \"status\": \"approved\",\n \"reason\": null,\n \"is_registration_completed\": true,\n \"address\": [\n {\n \"zip_code\": \"01234-567\",\n \"city\": \"São Paulo\",\n \"state\": \"SP\",\n \"country\": \"BR\",\n \"street\": \"Rua das Flores\",\n \"street_number\": \"123\",\n \"neighborhood\": \"Centro\",\n \"complement\": \"Apto 42\",\n \"reference\": null\n }\n ],\n \"public_token\": \"pk_abc123def456\",\n \"created_at\": \"2026-01-15 14:30:00\",\n \"cpf\": \"12345678909\"\n },\n \"metadata\": {\n \"origin\": \"nexus\",\n \"request_id\": \"67be1a2f3c4d5\",\n \"correlation_id\": null\n },\n \"created_at\": \"2026-02-25T10:00:00.000000Z\",\n \"updated_at\": \"2026-02-25T10:00:00.000000Z\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://nexus.ticto.com.br/api/v1/webhook-events/user_updated")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"event\": \"user_updated\",\n \"endpoint\": \"https://api.meusite.com/webhook/nexus\",\n \"payload\": {\n \"code\": \"JXAWHIB2HN1756369698\",\n \"name\": \"João da Silva\",\n \"email\": \"joao@email.com\",\n \"type\": \"person\",\n \"is_approved\": true,\n \"status\": \"approved\",\n \"reason\": null,\n \"is_registration_completed\": true,\n \"address\": [\n {\n \"zip_code\": \"01234-567\",\n \"city\": \"São Paulo\",\n \"state\": \"SP\",\n \"country\": \"BR\",\n \"street\": \"Rua das Flores\",\n \"street_number\": \"123\",\n \"neighborhood\": \"Centro\",\n \"complement\": \"Apto 42\",\n \"reference\": null\n }\n ],\n \"public_token\": \"pk_abc123def456\",\n \"created_at\": \"2026-01-15 14:30:00\",\n \"cpf\": \"12345678909\"\n },\n \"metadata\": {\n \"origin\": \"nexus\",\n \"request_id\": \"67be1a2f3c4d5\",\n \"correlation_id\": null\n },\n \"created_at\": \"2026-02-25T10:00:00.000000Z\",\n \"updated_at\": \"2026-02-25T10:00:00.000000Z\"\n}"
response = http.request(request)
puts response.read_bodyBody
application/json
Envelope padrão de todos os webhooks enviados pelo Nexus.
O campo payload varia conforme o evento.
Nome do evento disparado
Example:
"user_updated"
URL do webhook configurada pelo cliente
Example:
"https://api.meusite.com/webhook/nexus"
Payload do evento user_updated.
Disparado quando qualquer dado do usuário é alterado no sistema.
Show child attributes
Show child attributes
Metadados de rastreamento do webhook
Show child attributes
Show child attributes
Data de criação do webhook (ISO 8601)
Example:
"2026-02-25T10:00:00.000000Z"
Data de atualização do webhook (ISO 8601)
Example:
"2026-02-25T10:00:00.000000Z"
Response
200
Webhook recebido com sucesso