Skip to main content
POST
/
v1
/
gateway
/
triggers
/
{triggerId}
/
webhook
JavaScript
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"
}

Authorizations

X-API-Key
string
header
required

Headers

X-API-Key
string
required

Path Parameters

triggerId
string
required
Example:

Body

application/json
eventData
object

Response

dedupeKey
string
required
Example: