Webhook events
Learn about the different webhooks from Swapcard.
About webhook events
Swapcard provides webhooks for the following actions.
Entity | Action | Status | Detail |
---|---|---|---|
People | CREATE, UPDATE | Available | |
People | DELETE | Upcoming | People deletion is currently considered as an update action. |
Exhibitor | CREATE, UPDATE | Available | |
Exhibitor | DELETE | Upcoming | Exhibitor deletion is currently considered as an update action. |
Planning | CREATE, UPDATE | Available | |
Planning | DELETE | Upcoming | Planning deletion is currently considered as an update action. |
Product | CREATE, UPDATE, DELETE | Upcoming | Planned for EOY 2024 |
Document | CREATE, UPDATE, DELETE | Upcoming | Planned for EOY 2024 |
Meeting | CREATE, UPDATE, DELETE | Upcoming | Planned for EOY 2024 |
Example of payload
For People
{
"context":{
"event_id":"RXZlbnRfMjA2OTg=",
"user_id":"VXNlcl8xNjk2OQ=="
},
"event_profile":{
"id":"RXZlbnRQZW9wbGVfMTI4MTQw",
"event_id":"RXZlbnRfMjA2OTg=",
"community_profile":{
"id":"Q29tbXVuaXR5UHJvZmlsZV84MTI2",
"user":{
"id":"VXNlcl8yNzAwMA==",
"email":"godefroy@swapcard.com"
},
"first_name":"Godefroy",
"last_name":"Des Francs",
"email":"godefroy@swapcard.com",
"is_active":true,
"is_visible":true,
"engagement_score":0.75,
"community_id":"Q29tbXVuaXR5XzU0OA==",
"source":"UNKNOWN",
"biography":"specific bio 2",
"community_groups":[
{
"id":"Q29tbXVuaXR5R3JvdXBfODkxOQ==",
"name":"Members"
},
{
"id":"Q29tbXVuaXR5R3JvdXBfMTcxMDk=",
"name":"Exhibitors"
}
],
"created_at":"2021-09-07T12:44:08Z",
"updated_at":"2024-07-18T09:07:07Z"
},
"event_groups":[
{
"id":"RXZlbnRHcm91cF8xMTk1MA==",
"name":"Attendees",
"event_id":"RXZlbnRfMjA2OTg=",
"community_group_id":"Q29tbXVuaXR5R3JvdXBfODkxOQ=="
},
{
"id":"RXZlbnRHcm91cF8xMTk1Mg==",
"name":"Exhibitors",
"event_id":"RXZlbnRfMjA2OTg=",
"community_group_id":"Q29tbXVuaXR5R3JvdXBfMTcxMDk="
},
{
"id":"RXZlbnRHcm91cF8yNDE0MzM=",
"name":"my custom group",
"event_id":"RXZlbnRfMjA2OTg=",
"community_group_id":"Q29tbXVuaXR5R3JvdXBfMTcxMDk="
}
],
"created_at":"2021-09-07T12:44:08Z",
"updated_at":"2024-07-18T09:07:07Z"
},
"action":"profile_update",
"datetime":"2024-07-18T09:07:07.638Z"
}
For Exhibitor
{
"context":{
"event_id":"RXZlbnRfMjA2OTg=",
"user_id":"VXNlcl8xNjk2OQ=="
},
"event_exhibitor":{
"event_id":"RXZlbnRfMjA2OTg=",
"exhibitor":{
"id":"RXhoaWJpdG9yXzU0MzIz",
"logo":{
"id":"TWVkaWFfMzM4MzUy",
"content_type":"image/png",
"public_url":"https://cdn.dev.corp.swapcard.com/public/images/f464d059485348f79d7539f8c27c9ff9.png",
"original_url":"https://cdn.dev.corp.swapcard.com/public/images/f464d059485348f79d7539f8c27c9ff9.png",
"created_at":"2024-07-17T12:33:41Z",
"updated_at":"2024-07-17T12:33:41Z",
"deleted_at":"1970-01-01T00:00:00Z"
},
"name":"EXHIB",
"description":"<p>Let's add a description 4</p>",
"website_url":"https://swapcard.com",
"social_networks":[
{
"type":"LINKEDIN",
"profile":"swapcard"
}
],
"features":{
},
"banner_video_url":"{\"data\":{\"videoId\":\"ENw5pbmpy64\",\"type\":0}}",
"banner_image":{
"id":"TWVkaWFfMzM4MzUx",
"content_type":"image/png",
"public_url":"https://cdn.dev.corp.swapcard.com/public/images/394dc634841e45df9d3178720d9e69d7.png",
"original_url":"https://cdn.dev.corp.swapcard.com/public/images/394dc634841e45df9d3178720d9e69d7.png",
"created_at":"2024-07-17T12:33:35Z",
"updated_at":"2024-07-17T12:33:35Z",
"deleted_at":"1970-01-01T00:00:00Z"
},
"background_image":{
"id":"TWVkaWFfMzM4MzUz",
"content_type":"image/png",
"public_url":"https://cdn.dev.corp.swapcard.com/public/images/3253232b451c40f696dda5b0a93dd631.png",
"original_url":"https://cdn.dev.corp.swapcard.com/public/images/3253232b451c40f696dda5b0a93dd631.png",
"created_at":"2024-07-17T12:33:52Z",
"updated_at":"2024-07-17T12:33:52Z",
"deleted_at":"1970-01-01T00:00:00Z"
},
"exhibitor_documents":[
{
"document":{
"id":"RG9jdW1lbnRfMzg3OTI3",
"name":"document test",
"url":"IMAGE",
"public_url":"https://cdn.dev.corp.swapcard.com/public/images/09ed5c1b35df45ea853085b4c25e3cdb.png",
"created_at":"2024-07-17T12:31:59Z",
"updated_at":"2024-07-17T12:31:59Z"
},
"created_at":"2024-07-17T12:31:59Z"
}
],
"exhibitor_members":[
{
"id":"RXhoaWJpdG9yUGVyc29uXzMzNDgw",
"community_profile_id":"Q29tbXVuaXR5UHJvZmlsZV84MTI2",
"created_at":"2024-07-17T12:37:41Z",
"updated_at":"2024-07-17T12:37:41Z"
},
{
"id":"RXhoaWJpdG9yUGVyc29uXzMzNDgx",
"community_profile_id":"Q29tbXVuaXR5UHJvZmlsZV8xODI2MzQ=",
"created_at":"2024-07-17T12:37:47Z",
"updated_at":"2024-07-17T12:37:47Z"
}
],
"exhibitor_products":[
{
"product":{
"id":"UHJvZHVjdF82NDg2NA==",
"name":"My product",
"created_at":"2024-07-17T12:45:45Z",
"updated_at":"2024-07-17T12:45:45Z"
},
"created_at":"2024-07-17T12:45:50Z",
"updated_at":"2024-07-17T12:45:50Z"
}
],
"created_at":"2022-02-02T15:18:23Z",
"updated_at":"2024-07-17T12:46:12Z"
},
"community_id":"Q29tbXVuaXR5XzU0OA==",
"document_limit":5,
"features":{
"can_export_contacts":true,
"can_export_meetings_confirmed":true,
"can_export_chats":true,
"can_export_exhibitor_pages":true,
"can_export_exhibitor_items":true,
"can_export_advertisements":true,
"can_export_registrations":true,
"can_export_watched_exhibitor_plannings":true,
"can_export_documents":true,
"generate_api_key":true
},
"advertisements":[
{
"id":"QWR2ZXJ0aXNlbWVudF81MjY=",
"image":{
"id":"TWVkaWFfMzM4MzQ5",
"content_type":"image/png",
"public_url":"https://cdn.dev.corp.swapcard.com/public/images/511126fa16ae45209b8b3553685adf62.png",
"original_url":"https://cdn.dev.corp.swapcard.com/public/images/511126fa16ae45209b8b3553685adf62.png",
"created_at":"2024-07-17T12:26:28Z",
"updated_at":"2024-07-17T12:26:28Z",
"deleted_at":"1970-01-01T00:00:00Z"
},
"mobile_image":{
"id":"TWVkaWFfMzM4MzUw",
"content_type":"image/png",
"public_url":"https://cdn.dev.corp.swapcard.com/public/images/b8c00cdae34448c696a7f4ff09e9a407.png",
"original_url":"https://cdn.dev.corp.swapcard.com/public/images/b8c00cdae34448c696a7f4ff09e9a407.png",
"created_at":"2024-07-17T12:26:28Z",
"updated_at":"2024-07-17T12:26:28Z",
"deleted_at":"1970-01-01T00:00:00Z"
},
"created_at":"1970-01-01T00:00:00Z",
"updated_at":"1970-01-01T00:00:00Z"
}
],
"booths":[
{
"id":"RXZlbnRFeGhpYml0b3JMb2NhdGlvbl8yMDUz",
"position_on_location":"0",
"position_on_exhibitor":"0",
"location":{
"id":"TWVldGluZ1BsYWNlXzIwMDk0",
"name":"test1545414",
"capacity":3,
"created_at":"2022-05-13T14:12:21Z",
"updated_at":"2022-05-13T14:12:21Z"
}
}
],
"event_groups":[
{
"id":"RXZlbnRHcm91cF8yNDE0MzM=",
"name":"my custom group",
"event_id":"RXZlbnRfMjA2OTg=",
"community_group_id":"Q29tbXVuaXR5R3JvdXBfMTcxMDk="
}
],
"created_at":"2022-02-02T15:18:23Z",
"updated_at":"2022-02-02T15:18:23Z"
},
"action":"exhibitor_update",
"datetime":"2024-07-17T12:46:12.889Z"
}