import Triglit from 'triglit';
const client = new Triglit({
apiKey: 'My API Key',
});
const response = await client.triggers.triggerWebhook('trg_abc123def456');
console.log(response.dedupeKey);{
"dedupeKey": "webhook_user_123_2024-01-15T10:30:00.000Z"
}Triggers a webhook trigger with event data.
import Triglit from 'triglit';
const client = new Triglit({
apiKey: 'My API Key',
});
const response = await client.triggers.triggerWebhook('trg_abc123def456');
console.log(response.dedupeKey);{
"dedupeKey": "webhook_user_123_2024-01-15T10:30:00.000Z"
}Chave de API do tenant (publishable key ou secret key)
Chave de API do tenant (publishable key ou secret key)
Trigger identifier
"trg_abc123def456"
Show child attributes
Webhook triggered successfully
Deduplication key
"webhook_user_123_2024-01-15T10:30:00.000Z"
Was this page helpful?