← Voltar para FZAP
Referência
Webhook Events
Todos os tipos de payload enviados pelo FZAP, mapeados automaticamente via webhook. Schemas apresentados em JSON estrutural e interface TypeScript.
Todos os tipos de payload enviados pelo FZAP, mapeados automaticamente via webhook. Schemas apresentados em JSON estrutural e interface TypeScript.
Como funciona
Os schemas abaixo são extraídos automaticamente dos payloads reais enviados pelo FZAP. Valores sensíveis não são armazenados — apenas a estrutura tipada de cada campo. Cada vez que um payload com estrutura nova chega, uma nova variante é criada. Agora os eventos também são organizados por subcategoria técnica quando o payload traz sinais suficientes para isso.
{
"type": "AutomationMessage",
"event": {
"Info": {
"ID": "AAAAAAAAAAAAAAAAAAAAAA",
"Chat": "5511999999999@lid",
"Edit": "",
"Type": "text",
"Sender": "5511999999999@lid",
"IsGroup": false,
"Category": "",
"IsFromMe": true,
"PushName": "Daniel Carbonell",
"ServerID": 0,
"MediaType": "",
"Multicast": false,
"SenderAlt": "",
"Timestamp": "2026-01-01T12:00:00-03:00",
"MsgBotInfo": {
"EditType": "",
"EditTargetID": "",
"EditSenderTimestampMS": "2026-01-01T12:00:00-03:00"
},
"MsgMetaInfo": {
"TargetID": "",
"TargetChat": "",
"TargetSender": "",
"ThreadMessageID": "",
"DeprecatedLIDSession": null,
"ThreadMessageSenderJID": ""
},
"RecipientAlt": "5511999999999@s.whatsapp.net",
"VerifiedName": {
"Details": {
"issuer": "smb:wa",
"serial": 973365434261370900,
"verifiedName": "Daniel Carbonell"
},
"Certificate": {
"details": "CJfwq47J1oXBDRIGc21iOndhIhBEYW5pZWwgQ2FyYm9uZWxs",
"signature": "base64,.."
}
},
"AddressingMode": "",
"DeviceSentMeta": {
"Phash": "",
"DestinationJID": "5511999999999@lid"
},
"BroadcastListOwner": "",
"BroadcastRecipients": null
},
"IsEdit": false,
"Message": {
"messageContextInfo": {
"messageSecret": "MCTouiBysE4DntATER55p3J0mOaSDgGFfF/aEq6fV0w=",
"deviceListMetadata": {
"senderKeyHash": "2lFDUZDoXK79IA==",
"senderTimestamp": 1777099531,
"recipientKeyHash": "qBzXtBQphYcMJg==",
"senderAccountType": 0,
"recipientTimestamp": 1777133918,
"receiverAccountType": 0
},
"deviceListMetadataVersion": 2
},
"extendedTextMessage": {
"text": "Agora ou mais tarde?",
"contextInfo": {
"expiration": 7776000,
"disappearingMode": {
"trigger": 1,
"initiator": 2,
"initiatedByMe": false
},
"ephemeralSettingTimestamp": 1758315782
},
"inviteLinkGroupTypeV2": 0
}
},
"IsViewOnce": false,
"RawMessage": {
"deviceSentMessage": {
"message": {
"messageContextInfo": {
"messageSecret": "MCTouiBysE4DntATER55p3J0mOaSDgGFfF/aEq6fV0w=",
"deviceListMetadata": {
"senderKeyHash": "2lFDUZDoXK79IA==",
"senderTimestamp": 1777099531,
"recipientKeyHash": "qBzXtBQphYcMJg==",
"senderAccountType": 0,
"recipientTimestamp": 1777133918,
"receiverAccountType": 0
},
"deviceListMetadataVersion": 2
},
"extendedTextMessage": {
"text": "Agora ou mais tarde?",
"contextInfo": {
"expiration": 7776000,
"disappearingMode": {
"trigger": 1,
"initiator": 2,
"initiatedByMe": false
},
"ephemeralSettingTimestamp": 1758315782
},
"inviteLinkGroupTypeV2": 0
}
},
"destinationJID": "5511999999999@lid"
},
"messageContextInfo": {
"messageSecret": "MCTouiBysE4DntATER55p3J0mOaSDgGFfF/aEq6fV0w=",
"deviceListMetadata": {
"senderKeyHash": "2lFDUZDoXK79IA==",
"senderTimestamp": 1777099531,
"recipientKeyHash": "qBzXtBQphYcMJg==",
"senderAccountType": 0,
"recipientTimestamp": 1777133918,
"receiverAccountType": 0
},
"deviceListMetadataVersion": 2
}
},
"RetryCount": 0,
"IsBotInvoke": false,
"IsEphemeral": false,
"IsViewOnceV2": false,
"SourceWebMsg": null,
"NewsletterMeta": null,
"IsLottieSticker": false,
"UnavailableRequestID": "",
"IsDocumentWithCaption": false,
"IsViewOnceV2Extension": false
},
"token": "token_autenticacao",
"sender_jid": "5511999999999@s.whatsapp.net",
"sender_lid": "5511999999999@lid",
"source_type": "Message",
"event_origin": "whatsapp",
"recipient_jid": "",
"recipient_lid": "5511999999999@lid",
"automation_event": true,
"automation_filter": "text_ads_media_only"
}