Gift Webhook Events
The gift entity has the following events:
Gift Status Changed
Event name: gift-status-changed
Receive this event when a gift status has changed. The status can be one of the following:
unopened
: The gift has been sent but not yet opened by the recipientunwrapped
: The gift has been opened but not yet claimedopened
: The gift has been opened by the recipientclaimed
: The gift has been claimed by the recipientexpired
: The gift has expired before being claimed
Example payload:
{
"webhookData": {
"id": "string",
"eventType": "gift-status-changed",
"target": "string",
"triggeredAt": "2025-01-15T14:44:00.138Z"
},
"eventData": {
"companyId": "string",
"giftId": "string",
"status": "opened",
"metadata": {
"internalReferenceId": "REF123456",
"customCategory": "employee-recognition",
"integrationData": "custom-value",
"recipientContext": "anniversary-gift"
}
}
}
Metadata
The metadata object allows you to attach custom key-value pairs to gifts. This feature enables you to:
- Store additional gift-specific information that isn't covered by standard fields
- Include custom data that will be sent in webhook notifications
- Track and manage gift-related data specific to your integration needs
Technical specifications:
- Keys must be alphanumeric and up to 40 characters
- Values must be alphanumeric and up to 500 characters
- Maximum 50 key-value pairs allowed per gift
Example use cases:
- Store internal reference IDs or tracking numbers and get them in the webhooks
- Add custom categorization or tagging
- Include integration-specific data for webhook processing
- Attach additional recipient or gift context
Gift Delivery Status Changed
Event name: gift-delivery-status-changed
Receive this event when a gift delivery status has changed. The delivery status can be one of the following:
orderReceived
: The gift order has been receivedprocessing
: The gift is being processed for shippinginTransit
: The gift is in transit to the recipientoutForDelivery
: The gift is out for deliverydelivered
: The gift has been delivered to the recipient
Example payload:
{
"webhookData": {
"id": "string",
"eventType": "gift-delivery-status-changed",
"target": "string",
"triggeredAt": "2025-01-16T12:50:40.313Z"
},
"eventData": {
"companyId": "string",
"giftId": "string",
"deliveryStatus": "outForDelivery",
"outForDeliveryDate": "2025-01-16T08:00:00.000Z"
}
}
Invoice Sent
Event name: gift-invoice-sent
Receive this event when a gift invoice has been sent to the company.
Example payload:
{
"webhookData": {
"id": "string",
"eventType": "gift-invoice-sent",
"target": "string",
"triggeredAt": "2025-01-17T15:53:28.068Z"
},
"eventData": {
"companyId": "string",
"invoiceId": "string"
}
}
Gift Notification Events
Gift Notification Reminder Sent
Event name: gift-notification-reminder-sent
Receive this event when a reminder notification has been sent to the gift recipient.
Example payload:
{
"webhookData": {
"id": "string",
"eventType": "gift-notification-reminder-sent",
"target": "string",
"triggeredAt": "2025-01-19T10:30:00.000Z"
},
"eventData": {
"companyId": "string",
"giftId": "string",
"metadata": {
"internalReferenceId": "REF123456",
"customCategory": "employee-recognition",
"integrationData": "custom-value",
"recipientContext": "anniversary-gift"
}
}
}
Gift Notification Expiration Sent
Event name: gift-notification-expiration-sent
Receive this event when an expiration notification has been sent to the gift recipient.
Example payload:
{
"webhookData": {
"id": "string",
"eventType": "gift-notification-expiration-sent",
"target": "string",
"triggeredAt": "2025-01-19T10:30:00.000Z"
},
"eventData": {
"companyId": "string",
"giftId": "string",
"metadata": {
"internalReferenceId": "REF123456",
"customCategory": "employee-recognition",
"integrationData": "custom-value",
"recipientContext": "anniversary-gift"
}
}
}
Gift Notification Resend Sent
Event name: gift-notification-resend-sent
Receive this event when a gift notification has been resent to the recipient.
Example payload:
{
"webhookData": {
"id": "string",
"eventType": "gift-notification-resend-sent",
"target": "string",
"triggeredAt": "2025-01-19T10:30:00.000Z"
},
"eventData": {
"companyId": "string",
"giftId": "string",
"metadata": {
"internalReferenceId": "REF123456",
"customCategory": "employee-recognition",
"integrationData": "custom-value",
"recipientContext": "anniversary-gift"
}
}
}
Gift Notification Initial Sent
Event name: gift-notification-initial-sent
Receive this event when the initial gift notification has been sent to the recipient.
Example payload:
{
"webhookData": {
"id": "string",
"eventType": "gift-notification-initial-sent",
"target": "string",
"triggeredAt": "2025-01-19T10:30:00.000Z"
},
"eventData": {
"companyId": "string",
"giftId": "string",
"metadata": {
"internalReferenceId": "REF123456",
"customCategory": "employee-recognition",
"integrationData": "custom-value",
"recipientContext": "anniversary-gift"
}
}
}
Thank You Note Created
Event name: thank-you-note-created
Receive this event when a thank you note has been created by the gift recipient.
Example payload:
{
"webhookData": {
"id": "string",
"eventType": "thank-you-note-created",
"target": "string",
"triggeredAt": "2025-01-18T10:30:00.000Z"
},
"eventData": {
"companyId": "string",
"giftId": "string",
"thankYouNote": "string"
}
}
Updated about 1 month ago