Huddle
Huddle Webhooks
Get Started
- Overview
- Quickstart
- Setup
Key Concepts
- Overview
- Organizations
- Documents
- Locations
- Users
- Access Control
Async Collaboration
- Comments
- In-app Notifications
- Inline Reactions
- Recorder
- View Analytics
- Arrows
Realtime Collaboration
- Presence
- Cursors
- Follow Me Mode
- Huddle
- Live Selection
- Live State Sync
- Single Editor Mode
- Video Player Sync
Email Notifications
Miscellaneous
- Migrate From Cord
- Common Integration Questions
Huddle
Huddle Webhooks
{
"webhookId": "-Nvmw84XtUUHIsrcKAvI",
"actionType": "created",
"notificationSource": "huddle",
"actionUser": {
"clientOrganizationId": "7e2aed5bc102d06f740ab92afdf58e78f9d34d409555d19a35389309c80f4b4f",
"color": "#19bcfe",
"email": "john@trysnippyly.com",
"organizationId": "7e2aed5bc102d06f740ab92afdf58e78f9d34d409555d19a35389309c80f4b4f",
"name": "John Smith",
"plan": "free",
"type": "signedIn",
"userId": "1",
},
"metadata": {
"apiKey": "Emcfab4ysRXaC1CZ8hmG",
"clientDocumentId": "12-4-24",
"documentId": "1856907974154638",
"locations": {
"5638605251172150": {
"location": {
"id": "location1",
"locationName": "Location 1"
},
"locationId": 5638605251172150,
"pageInfo": {
"baseUrl": "http://localhost:3000",
"path": "/",
"title": "Velt React Demo",
"url": "http://localhost:3000/"
}
}
},
"pageInfo": {
"baseUrl": "http://localhost:3000",
"path": "/",
"title": "Velt React Demo",
"url": "http://localhost:3000/"
}
},
"platform": "sdk"
}
The Huddle
component will emit webhook notifications when a user creates or joins a group huddle.
To read more about how to setup webhooks with our SDK, click here.
List of Action Types
Action Type | Description |
---|---|
created | When a User created a Huddle |
join | When a User joins a Huddle |
Webhook data
Field | Type | Required | Description |
---|---|---|---|
webhookId | string | Yes | The unique identifier for the webhook event. |
actionType | string | Yes | Type of action: created or joined |
notificationSource | string | Yes | Source of notification: huddle |
actionUser | UserObject | Yes | The user who performed the action |
metadata | object | Yes | Metadata related to the action |
{
"webhookId": "-Nvmw84XtUUHIsrcKAvI",
"actionType": "created",
"notificationSource": "huddle",
"actionUser": {
"clientOrganizationId": "7e2aed5bc102d06f740ab92afdf58e78f9d34d409555d19a35389309c80f4b4f",
"color": "#19bcfe",
"email": "john@trysnippyly.com",
"organizationId": "7e2aed5bc102d06f740ab92afdf58e78f9d34d409555d19a35389309c80f4b4f",
"name": "John Smith",
"plan": "free",
"type": "signedIn",
"userId": "1",
},
"metadata": {
"apiKey": "Emcfab4ysRXaC1CZ8hmG",
"clientDocumentId": "12-4-24",
"documentId": "1856907974154638",
"locations": {
"5638605251172150": {
"location": {
"id": "location1",
"locationName": "Location 1"
},
"locationId": 5638605251172150,
"pageInfo": {
"baseUrl": "http://localhost:3000",
"path": "/",
"title": "Velt React Demo",
"url": "http://localhost:3000/"
}
}
},
"pageInfo": {
"baseUrl": "http://localhost:3000",
"path": "/",
"title": "Velt React Demo",
"url": "http://localhost:3000/"
}
},
"platform": "sdk"
}
Was this page helpful?
{
"webhookId": "-Nvmw84XtUUHIsrcKAvI",
"actionType": "created",
"notificationSource": "huddle",
"actionUser": {
"clientOrganizationId": "7e2aed5bc102d06f740ab92afdf58e78f9d34d409555d19a35389309c80f4b4f",
"color": "#19bcfe",
"email": "john@trysnippyly.com",
"organizationId": "7e2aed5bc102d06f740ab92afdf58e78f9d34d409555d19a35389309c80f4b4f",
"name": "John Smith",
"plan": "free",
"type": "signedIn",
"userId": "1",
},
"metadata": {
"apiKey": "Emcfab4ysRXaC1CZ8hmG",
"clientDocumentId": "12-4-24",
"documentId": "1856907974154638",
"locations": {
"5638605251172150": {
"location": {
"id": "location1",
"locationName": "Location 1"
},
"locationId": 5638605251172150,
"pageInfo": {
"baseUrl": "http://localhost:3000",
"path": "/",
"title": "Velt React Demo",
"url": "http://localhost:3000/"
}
}
},
"pageInfo": {
"baseUrl": "http://localhost:3000",
"path": "/",
"title": "Velt React Demo",
"url": "http://localhost:3000/"
}
},
"platform": "sdk"
}