Skip to content

Commit

Permalink
Merge pull request #158 from panoratech/docs-playground-testing
Browse files Browse the repository at this point in the history
📝 Improve docs
  • Loading branch information
rflihxyz authored Dec 14, 2023
2 parents b6fe775 + d4c8740 commit 96600f4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"raiseIssue": true,
"api": {
"baseUrl": "https://api-dev.panora.dev",
"baseUrl": "https://api-demo.panora.dev",
"auth": {
"method": "key"
}
Expand Down
13 changes: 4 additions & 9 deletions docs/webhooks/event-types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,13 @@ title: 'Event Types'
description: '.'
icon: 'wand-magic-sparkles'
---

Types of events
This is a list of all the types of events we currently send. We may add more at any time, so in developing and maintaining your code, you should not assume that only these types exist.

You’ll notice that these events follow a pattern: resource.event. Our goal is to design a consistent system that makes things easier to anticipate and code against. Events that occur on subresources like customer.subscription do not trigger the parent’s update event.

Events marked as Selection required are only created when a webhook has been configured to listen for that type of event specifically. A webhook set to listen to all events will not receive an event requiring explicit selection.


| Events |
|--------------------------------------------------------------------------------------|
| `crm.contact.created` <br></br> Occurs whenever a new contact was created in a CRM. Sent only if the contact wasn't created using Panora. The `data` field is a `CRM` `Contact` object|
| `crm.contact.updated` <br></br> Occurs whenever a new contact was updated in a CRM. Sent only if the contact wasn't created using Panora. The `data` field is a `CRM` `Contact` object |
| `crm.contact.deleted` <br></br> Occurs whenever a new contact was deleted in a CRM. Sent only if the contact wasn't created using Panora. The `data` field is a `CRM` `Contact` object |
| `magic_link.connected` <br></br> Occurs when a new connection was created through a Magic Link. |
| **crm.contact.created** <br></br> Occurs whenever a new contactclear was created in a CRM. The `data` field is a `CRM` `Contact` object|
| **crm.contact.updated** <br></br> Occurs whenever a new contact was updated in a CRM. The `data` field is a `CRM` `Contact` object |
| **crm.contact.deleted** <br></br> Occurs whenever a new contact was deleted in a CRM. The `data` field is a `CRM` `Contact` object |
| **magic_link.connected** <br></br> Occurs when a new connection was created through a Magic Link. |
4 changes: 3 additions & 1 deletion docs/welcome.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,6 @@ Your customers expect all of their tools to work well together. Panora avoids yo
</Card>


[✏️ Suggest an update](https://tally.so/r/mRD1QQ?feedback_source=welcome)
[✏️ Suggest an update](https://tally.so/r/mRD1QQ?feedback_source=welcome)


0 comments on commit 96600f4

Please sign in to comment.