diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..0a77011
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,3 @@
+{
+ "editor.tabSize": 2
+}
\ No newline at end of file
diff --git a/custom.css b/custom.css
new file mode 100644
index 0000000..b28e1b3
--- /dev/null
+++ b/custom.css
@@ -0,0 +1,18 @@
+/* Global font weight adjustments */
+.font-extrabold {
+ font-weight: 600;
+}
+
+.font-semibold {
+ font-weight: 500;
+}
+
+/* By default titles have tight leading, this removes this. */
+.tracking-tight {
+ letter-spacing: 0;
+}
+
+/* Links that are in the content of the page */
+.prose :where(a):not(:where([class~='not-prose'] *)) {
+ font-weight: 500;
+}
diff --git a/pages/attachments.mdx b/docs/api-reference/attachments.mdx
similarity index 76%
rename from pages/attachments.mdx
rename to docs/api-reference/attachments.mdx
index 16abb17..5d7547c 100644
--- a/pages/attachments.mdx
+++ b/docs/api-reference/attachments.mdx
@@ -1,6 +1,6 @@
---
-title: 'File Attachments'
-description: "When using Plain's API to send emails or [create threads](/graphql/threads/create), you can add file attachments."
+title: 'Attachments'
+description: 'How to upload attachments programatically for messages and events in Plain.'
---
This page outlines how to upload attachments programatically.
@@ -24,25 +24,21 @@ To try this, you will need an [API key](/graphql/authentication/) with the follo
- `c_XXXXXXXXXXXXXXXXXXXXXXXXXX` is the customer id you are uploading the attachment for. **Remember to replace this!**
-
-
-
-
- Which would console log something like this:
-
-
+
+
+ Which would console log something like this:
+
- The GraphQL mutation to create an attachment upload URL is the following:
-
-
-
+ The GraphQL mutation to create an attachment upload URL is the following:
+
+
In the `AttachmentUploadUrl` we created in the previous step we get back 2 fields which are needed to actually upload our attachment:
@@ -54,19 +50,16 @@ To try this, you will need an [API key](/graphql/authentication/) with the follo
Here is some example code showing how you would do this in the Browser and from a Node server:
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
## Limitations
diff --git a/pages/customer-cards/documentation.mdx b/docs/api-reference/customer-cards/documentation.mdx
similarity index 100%
rename from pages/customer-cards/documentation.mdx
rename to docs/api-reference/customer-cards/documentation.mdx
diff --git a/pages/customer-cards/examples.mdx b/docs/api-reference/customer-cards/examples.mdx
similarity index 100%
rename from pages/customer-cards/examples.mdx
rename to docs/api-reference/customer-cards/examples.mdx
diff --git a/pages/customer-cards.mdx b/docs/api-reference/customer-cards/introduction.mdx
similarity index 100%
rename from pages/customer-cards.mdx
rename to docs/api-reference/customer-cards/introduction.mdx
diff --git a/pages/customer-cards/playground.mdx b/docs/api-reference/customer-cards/playground.mdx
similarity index 100%
rename from pages/customer-cards/playground.mdx
rename to docs/api-reference/customer-cards/playground.mdx
diff --git a/docs/api-reference/graphql/api-explorer.mdx b/docs/api-reference/graphql/api-explorer.mdx
new file mode 100644
index 0000000..1996c40
--- /dev/null
+++ b/docs/api-reference/graphql/api-explorer.mdx
@@ -0,0 +1,4 @@
+---
+title: 'API Explorer'
+url: 'https://app.plain.com/developer/api-explorer/'
+---
diff --git a/pages/graphql/authentication.mdx b/docs/api-reference/graphql/authentication.mdx
similarity index 100%
rename from pages/graphql/authentication.mdx
rename to docs/api-reference/graphql/authentication.mdx
diff --git a/pages/graphql/customers.mdx b/docs/api-reference/graphql/customers.mdx
similarity index 100%
rename from pages/graphql/customers.mdx
rename to docs/api-reference/graphql/customers.mdx
diff --git a/pages/graphql/customers/customer-groups.mdx b/docs/api-reference/graphql/customers/customer-groups.mdx
similarity index 100%
rename from pages/graphql/customers/customer-groups.mdx
rename to docs/api-reference/graphql/customers/customer-groups.mdx
diff --git a/pages/graphql/customers/delete.mdx b/docs/api-reference/graphql/customers/delete.mdx
similarity index 100%
rename from pages/graphql/customers/delete.mdx
rename to docs/api-reference/graphql/customers/delete.mdx
diff --git a/pages/graphql/customers/get.mdx b/docs/api-reference/graphql/customers/get.mdx
similarity index 100%
rename from pages/graphql/customers/get.mdx
rename to docs/api-reference/graphql/customers/get.mdx
diff --git a/pages/graphql/customers/upsert.mdx b/docs/api-reference/graphql/customers/upsert.mdx
similarity index 100%
rename from pages/graphql/customers/upsert.mdx
rename to docs/api-reference/graphql/customers/upsert.mdx
diff --git a/pages/graphql/error-codes.mdx b/docs/api-reference/graphql/error-codes.mdx
similarity index 100%
rename from pages/graphql/error-codes.mdx
rename to docs/api-reference/graphql/error-codes.mdx
diff --git a/pages/graphql/error-handling.mdx b/docs/api-reference/graphql/error-handling.mdx
similarity index 100%
rename from pages/graphql/error-handling.mdx
rename to docs/api-reference/graphql/error-handling.mdx
diff --git a/pages/graphql/events.mdx b/docs/api-reference/graphql/events.mdx
similarity index 100%
rename from pages/graphql/events.mdx
rename to docs/api-reference/graphql/events.mdx
diff --git a/pages/graphql/events/create-customer-event.mdx b/docs/api-reference/graphql/events/create-customer-event.mdx
similarity index 100%
rename from pages/graphql/events/create-customer-event.mdx
rename to docs/api-reference/graphql/events/create-customer-event.mdx
diff --git a/pages/graphql.mdx b/docs/api-reference/graphql/introduction.mdx
similarity index 100%
rename from pages/graphql.mdx
rename to docs/api-reference/graphql/introduction.mdx
diff --git a/pages/graphql/labels.mdx b/docs/api-reference/graphql/labels.mdx
similarity index 100%
rename from pages/graphql/labels.mdx
rename to docs/api-reference/graphql/labels.mdx
diff --git a/pages/graphql/labels/add.mdx b/docs/api-reference/graphql/labels/add.mdx
similarity index 100%
rename from pages/graphql/labels/add.mdx
rename to docs/api-reference/graphql/labels/add.mdx
diff --git a/pages/graphql/labels/remove.mdx b/docs/api-reference/graphql/labels/remove.mdx
similarity index 100%
rename from pages/graphql/labels/remove.mdx
rename to docs/api-reference/graphql/labels/remove.mdx
diff --git a/pages/graphql/messaging.mdx b/docs/api-reference/graphql/messaging.mdx
similarity index 100%
rename from pages/graphql/messaging.mdx
rename to docs/api-reference/graphql/messaging.mdx
diff --git a/pages/graphql/messaging/reply-email.mdx b/docs/api-reference/graphql/messaging/reply-email.mdx
similarity index 100%
rename from pages/graphql/messaging/reply-email.mdx
rename to docs/api-reference/graphql/messaging/reply-email.mdx
diff --git a/pages/graphql/messaging/send-email.mdx b/docs/api-reference/graphql/messaging/send-email.mdx
similarity index 100%
rename from pages/graphql/messaging/send-email.mdx
rename to docs/api-reference/graphql/messaging/send-email.mdx
diff --git a/pages/graphql/pagination.mdx b/docs/api-reference/graphql/pagination.mdx
similarity index 100%
rename from pages/graphql/pagination.mdx
rename to docs/api-reference/graphql/pagination.mdx
diff --git a/pages/graphql/schema.mdx b/docs/api-reference/graphql/schema.mdx
similarity index 100%
rename from pages/graphql/schema.mdx
rename to docs/api-reference/graphql/schema.mdx
diff --git a/pages/graphql/threads.mdx b/docs/api-reference/graphql/threads.mdx
similarity index 94%
rename from pages/graphql/threads.mdx
rename to docs/api-reference/graphql/threads.mdx
index 055e8a1..b96141a 100644
--- a/pages/graphql/threads.mdx
+++ b/docs/api-reference/graphql/threads.mdx
@@ -18,4 +18,4 @@ An example thread looks like this:
explorer](https://app.plain.com/developer/api-explorer) to discover the full schema of threads.
-
+
diff --git a/pages/graphql/threads/assignment.mdx b/docs/api-reference/graphql/threads/assignment.mdx
similarity index 100%
rename from pages/graphql/threads/assignment.mdx
rename to docs/api-reference/graphql/threads/assignment.mdx
diff --git a/pages/graphql/threads/create.mdx b/docs/api-reference/graphql/threads/create.mdx
similarity index 100%
rename from pages/graphql/threads/create.mdx
rename to docs/api-reference/graphql/threads/create.mdx
diff --git a/pages/graphql/threads/status-changes.mdx b/docs/api-reference/graphql/threads/status-changes.mdx
similarity index 100%
rename from pages/graphql/threads/status-changes.mdx
rename to docs/api-reference/graphql/threads/status-changes.mdx
diff --git a/pages/graphql/typescript-sdk.mdx b/docs/api-reference/graphql/typescript-sdk.mdx
similarity index 86%
rename from pages/graphql/typescript-sdk.mdx
rename to docs/api-reference/graphql/typescript-sdk.mdx
index 1692db0..da000fa 100644
--- a/pages/graphql/typescript-sdk.mdx
+++ b/docs/api-reference/graphql/typescript-sdk.mdx
@@ -1,5 +1,4 @@
---
title: 'Typescript SDK'
-icon: 'link'
url: 'https://github.com/team-plain/typescript-sdk/'
---
diff --git a/pages/migrate-to-threads.mdx b/docs/api-reference/migrate-to-threads.mdx
similarity index 100%
rename from pages/migrate-to-threads.mdx
rename to docs/api-reference/migrate-to-threads.mdx
diff --git a/pages/ui-components/badge.mdx b/docs/api-reference/ui-components/badge.mdx
similarity index 100%
rename from pages/ui-components/badge.mdx
rename to docs/api-reference/ui-components/badge.mdx
diff --git a/pages/ui-components/container.mdx b/docs/api-reference/ui-components/container.mdx
similarity index 100%
rename from pages/ui-components/container.mdx
rename to docs/api-reference/ui-components/container.mdx
diff --git a/pages/ui-components/copy-button.mdx b/docs/api-reference/ui-components/copy-button.mdx
similarity index 100%
rename from pages/ui-components/copy-button.mdx
rename to docs/api-reference/ui-components/copy-button.mdx
diff --git a/pages/ui-components/divider.mdx b/docs/api-reference/ui-components/divider.mdx
similarity index 100%
rename from pages/ui-components/divider.mdx
rename to docs/api-reference/ui-components/divider.mdx
diff --git a/pages/ui-components.mdx b/docs/api-reference/ui-components/introduction.mdx
similarity index 100%
rename from pages/ui-components.mdx
rename to docs/api-reference/ui-components/introduction.mdx
diff --git a/pages/ui-components/link-button.mdx b/docs/api-reference/ui-components/link-button.mdx
similarity index 100%
rename from pages/ui-components/link-button.mdx
rename to docs/api-reference/ui-components/link-button.mdx
diff --git a/pages/ui-components/plain-text.mdx b/docs/api-reference/ui-components/plain-text.mdx
similarity index 100%
rename from pages/ui-components/plain-text.mdx
rename to docs/api-reference/ui-components/plain-text.mdx
diff --git a/pages/ui-components/row.mdx b/docs/api-reference/ui-components/row.mdx
similarity index 100%
rename from pages/ui-components/row.mdx
rename to docs/api-reference/ui-components/row.mdx
diff --git a/pages/ui-components/spacer.mdx b/docs/api-reference/ui-components/spacer.mdx
similarity index 100%
rename from pages/ui-components/spacer.mdx
rename to docs/api-reference/ui-components/spacer.mdx
diff --git a/pages/ui-components/text.mdx b/docs/api-reference/ui-components/text.mdx
similarity index 100%
rename from pages/ui-components/text.mdx
rename to docs/api-reference/ui-components/text.mdx
diff --git a/pages/webhooks/customer-created.mdx b/docs/api-reference/webhooks/customer-created.mdx
similarity index 100%
rename from pages/webhooks/customer-created.mdx
rename to docs/api-reference/webhooks/customer-created.mdx
diff --git a/pages/webhooks/customer-deleted.mdx b/docs/api-reference/webhooks/customer-deleted.mdx
similarity index 100%
rename from pages/webhooks/customer-deleted.mdx
rename to docs/api-reference/webhooks/customer-deleted.mdx
diff --git a/pages/webhooks/customer-group-membership-changed.mdx b/docs/api-reference/webhooks/customer-group-membership-changed.mdx
similarity index 100%
rename from pages/webhooks/customer-group-membership-changed.mdx
rename to docs/api-reference/webhooks/customer-group-membership-changed.mdx
diff --git a/pages/webhooks/customer-updated.mdx b/docs/api-reference/webhooks/customer-updated.mdx
similarity index 100%
rename from pages/webhooks/customer-updated.mdx
rename to docs/api-reference/webhooks/customer-updated.mdx
diff --git a/pages/webhooks/email-received.mdx b/docs/api-reference/webhooks/email-received.mdx
similarity index 100%
rename from pages/webhooks/email-received.mdx
rename to docs/api-reference/webhooks/email-received.mdx
diff --git a/pages/webhooks/email-sent.mdx b/docs/api-reference/webhooks/email-sent.mdx
similarity index 100%
rename from pages/webhooks/email-sent.mdx
rename to docs/api-reference/webhooks/email-sent.mdx
diff --git a/pages/webhooks.mdx b/docs/api-reference/webhooks/introduction.mdx
similarity index 100%
rename from pages/webhooks.mdx
rename to docs/api-reference/webhooks/introduction.mdx
diff --git a/pages/webhooks/thread-assignment-transitioned.mdx b/docs/api-reference/webhooks/thread-assignment-transitioned.mdx
similarity index 100%
rename from pages/webhooks/thread-assignment-transitioned.mdx
rename to docs/api-reference/webhooks/thread-assignment-transitioned.mdx
diff --git a/pages/webhooks/thread-created.mdx b/docs/api-reference/webhooks/thread-created.mdx
similarity index 100%
rename from pages/webhooks/thread-created.mdx
rename to docs/api-reference/webhooks/thread-created.mdx
diff --git a/pages/webhooks/thread-labels-changed.mdx b/docs/api-reference/webhooks/thread-labels-changed.mdx
similarity index 100%
rename from pages/webhooks/thread-labels-changed.mdx
rename to docs/api-reference/webhooks/thread-labels-changed.mdx
diff --git a/pages/webhooks/thread-priority-changed.mdx b/docs/api-reference/webhooks/thread-priority-changed.mdx
similarity index 100%
rename from pages/webhooks/thread-priority-changed.mdx
rename to docs/api-reference/webhooks/thread-priority-changed.mdx
diff --git a/pages/webhooks/thread-status-transitioned.mdx b/docs/api-reference/webhooks/thread-status-transitioned.mdx
similarity index 100%
rename from pages/webhooks/thread-status-transitioned.mdx
rename to docs/api-reference/webhooks/thread-status-transitioned.mdx
diff --git a/pages/contact-forms-setup.mdx b/docs/contact-forms-setup.mdx
similarity index 100%
rename from pages/contact-forms-setup.mdx
rename to docs/contact-forms-setup.mdx
diff --git a/pages/customer-cards-setup.mdx b/docs/customer-cards-setup.mdx
similarity index 100%
rename from pages/customer-cards-setup.mdx
rename to docs/customer-cards-setup.mdx
diff --git a/pages/email-setup.mdx b/docs/email-setup.mdx
similarity index 100%
rename from pages/email-setup.mdx
rename to docs/email-setup.mdx
diff --git a/pages/email-setup/receiving-emails.mdx b/docs/email-setup/receiving-emails.mdx
similarity index 100%
rename from pages/email-setup/receiving-emails.mdx
rename to docs/email-setup/receiving-emails.mdx
diff --git a/pages/email-setup/sending-emails.mdx b/docs/email-setup/sending-emails.mdx
similarity index 100%
rename from pages/email-setup/sending-emails.mdx
rename to docs/email-setup/sending-emails.mdx
diff --git a/pages/events-setup.mdx b/docs/events-setup.mdx
similarity index 100%
rename from pages/events-setup.mdx
rename to docs/events-setup.mdx
diff --git a/pages/introduction.mdx b/docs/introduction.mdx
similarity index 98%
rename from pages/introduction.mdx
rename to docs/introduction.mdx
index b906886..c49a53d 100644
--- a/pages/introduction.mdx
+++ b/docs/introduction.mdx
@@ -1,5 +1,5 @@
---
-title: 'Getting started with Plain'
+title: 'Introduction'
description: 'Plain is the customer support tool for technical B2B products.'
---
diff --git a/pages/labels-setup.mdx b/docs/labels-setup.mdx
similarity index 100%
rename from pages/labels-setup.mdx
rename to docs/labels-setup.mdx
diff --git a/pages/linear-integration-setup.mdx b/docs/linear-integration-setup.mdx
similarity index 100%
rename from pages/linear-integration-setup.mdx
rename to docs/linear-integration-setup.mdx
diff --git a/pages/security.mdx b/docs/security.mdx
similarity index 100%
rename from pages/security.mdx
rename to docs/security.mdx
diff --git a/mint.json b/mint.json
index fa777a7..b9d04c5 100644
--- a/mint.json
+++ b/mint.json
@@ -1,167 +1,164 @@
{
- "name": "Plain",
- "logo": {
- "light": "/public/logo/light.png",
- "dark": "/public/logo/dark.png"
+ "name": "Plain",
+ "logo": {
+ "light": "/public/logo/light.png",
+ "dark": "/public/logo/dark.png",
+ "url": "https://plain.com"
+ },
+ "favicon": "/public/favicon/favicon.png",
+ "colors": {
+ "primary": "#004CA4",
+ "light": "#94a3b8",
+ "dark": "#3e7cff"
+ },
+ "topbarCtaButton": {
+ "name": "Sign in",
+ "url": "https://app.plain.com/"
+ },
+ "tabs": [
+ {
+ "name": "API Reference",
+ "url": "docs/api-reference"
+ }
+ ],
+ "anchors": [
+ {
+ "name": "API Reference",
+ "icon": "code",
+ "url": "docs/api-reference"
},
- "favicon": "/public/favicon/favicon.png",
- "colors": {
- "primary": "#0E0E0E",
- "light": "#FAFAFA",
- "dark": "#0E0E0E"
+ {
+ "name": "Book a demo",
+ "icon": "calendar",
+ "url": "https://plain.com/"
},
- "topbarCtaButton": {
- "name": "Sign in",
- "url": "https://app.plain.com/"
+ {
+ "name": "Email us",
+ "icon": "envelope",
+ "url": "https://mailto:help@plain.com/"
+ }
+ ],
+ "navigation": [
+ {
+ "group": "Overview",
+ "pages": [
+ "docs/introduction",
+ "docs/labels-setup",
+ "docs/linear-integration-setup",
+ "docs/contact-forms-setup"
+ ]
},
- "anchors": [
- {
- "name": "Status",
- "icon": "signal-bars",
- "url": "https://status.plain.com/"
- },
- {
- "name": "Support",
- "icon": "headset",
- "url": "mailto:help@plain.com"
- },
- {
- "name": "Privacy Policy",
- "icon": "lock",
- "url": "https://www.plain.com/legal/privacy-policy"
- }
- ],
- "navigation": [
- {
- "group": "Welcome to Plain",
- "pages": ["pages/introduction"]
- },
- {
- "group": "Getting Started",
- "pages": [
- {
- "group": "Email",
- "pages": [
- "pages/email-setup",
- "pages/email-setup/receiving-emails",
- "pages/email-setup/sending-emails"
- ]
- },
- "pages/labels-setup",
- "pages/linear-integration-setup",
- "pages/contact-forms-setup",
- "pages/customer-cards-setup",
- "pages/events-setup"
- ]
- },
- {
- "group": "Reference",
- "pages": [
- {
- "group": "GraphQL API",
- "pages": [
- "pages/graphql",
- "pages/graphql/authentication",
- "pages/graphql/schema",
- {
- "group": "Customers",
- "pages": [
- "pages/graphql/customers",
- "pages/graphql/customers/get",
- "pages/graphql/customers/upsert",
- "pages/graphql/customers/delete",
- "pages/graphql/customers/customer-groups"
- ]
- },
- {
- "group": "Events",
- "pages": [
- "pages/graphql/events",
- "pages/graphql/events/create-customer-event"
- ]
- },
- {
- "group": "Labels",
- "pages": [
- "pages/graphql/labels",
- "pages/graphql/labels/add",
- "pages/graphql/labels/remove"
- ]
- },
- {
- "group": "Messaging",
- "pages": [
- "pages/graphql/messaging",
- "pages/graphql/messaging/send-email",
- "pages/graphql/messaging/reply-email"
- ]
- },
- {
- "group": "Threads",
- "pages": [
- "pages/graphql/threads",
- "pages/graphql/threads/create",
- "pages/graphql/threads/assignment",
- "pages/graphql/threads/status-changes"
- ]
- },
- "pages/graphql/pagination",
- "pages/graphql/error-handling",
- "pages/graphql/error-codes",
- "pages/graphql/api-explorer",
- "pages/graphql/typescript-sdk"
- ]
- },
- {
- "group": "Customer Cards",
- "pages": [
- "pages/customer-cards",
- "pages/customer-cards/documentation",
- "pages/customer-cards/playground",
- "pages/customer-cards/examples"
- ]
- },
- {
- "group": "Webhooks",
- "pages": [
- "pages/webhooks",
- "pages/webhooks/thread-created",
- "pages/webhooks/thread-status-transitioned",
- "pages/webhooks/thread-assignment-transitioned",
- "pages/webhooks/email-received",
- "pages/webhooks/email-sent",
- "pages/webhooks/thread-labels-changed",
- "pages/webhooks/customer-created",
- "pages/webhooks/customer-updated",
- "pages/webhooks/customer-deleted",
- "pages/webhooks/customer-group-membership-changed",
- "pages/webhooks/thread-priority-changed"
- ]
- },
- {
- "group": "UI Components",
- "pages": [
- "pages/ui-components",
- "pages/ui-components/badge",
- "pages/ui-components/container",
- "pages/ui-components/copy-button",
- "pages/ui-components/divider",
- "pages/ui-components/link-button",
- "pages/ui-components/plain-text",
- "pages/ui-components/row",
- "pages/ui-components/spacer",
- "pages/ui-components/text"
- ]
- },
- "pages/attachments",
- "pages/security",
- "pages/migrate-to-threads"
- ]
- }
- ],
- "footerSocials":
- {
- "twitter": "https://twitter.com/plainsupport",
- "linkedin": "https://www.linkedin.com/company/plainsupport"
- }
+ {
+ "group": "Adding context",
+ "pages": ["docs/customer-cards-setup", "docs/events-setup", "docs/security"]
+ },
+ {
+ "group": "GraphQL",
+ "pages": [
+ "docs/api-reference/graphql/introduction",
+ "docs/api-reference/graphql/authentication",
+ "docs/api-reference/graphql/schema",
+ {
+ "group": "Customers",
+ "pages": [
+ "docs/api-reference/graphql/customers",
+ "docs/api-reference/graphql/customers/get",
+ "docs/api-reference/graphql/customers/upsert",
+ "docs/api-reference/graphql/customers/delete",
+ "docs/api-reference/graphql/customers/customer-groups"
+ ]
+ },
+ {
+ "group": "Events",
+ "pages": [
+ "docs/api-reference/graphql/events",
+ "docs/api-reference/graphql/events/create-customer-event"
+ ]
+ },
+ {
+ "group": "Labels",
+ "pages": [
+ "docs/api-reference/graphql/labels",
+ "docs/api-reference/graphql/labels/add",
+ "docs/api-reference/graphql/labels/remove"
+ ]
+ },
+ {
+ "group": "Messaging",
+ "pages": [
+ "docs/api-reference/graphql/messaging",
+ "docs/api-reference/graphql/messaging/send-email",
+ "docs/api-reference/graphql/messaging/reply-email"
+ ]
+ },
+ {
+ "group": "Threads",
+ "pages": [
+ "docs/api-reference/graphql/threads",
+ "docs/api-reference/graphql/threads/create",
+ "docs/api-reference/graphql/threads/assignment",
+ "docs/api-reference/graphql/threads/status-changes"
+ ]
+ },
+ "docs/api-reference/graphql/pagination",
+ "docs/api-reference/graphql/error-handling",
+ "docs/api-reference/graphql/error-codes",
+ "docs/api-reference/graphql/api-explorer",
+ "docs/api-reference/graphql/typescript-sdk",
+
+ "docs/api-reference/migrate-to-threads"
+ ]
+ },
+ {
+ "group": "Other APIs",
+ "pages": [
+ {
+ "group": "Customer Cards",
+ "pages": [
+ "docs/api-reference/customer-cards/introduction",
+ "docs/api-reference/customer-cards/documentation",
+ "docs/api-reference/customer-cards/playground",
+ "docs/api-reference/customer-cards/examples"
+ ]
+ },
+ {
+ "group": "Webhooks",
+ "pages": [
+ "docs/api-reference/webhooks/introduction",
+ "docs/api-reference/webhooks/thread-created",
+ "docs/api-reference/webhooks/thread-status-transitioned",
+ "docs/api-reference/webhooks/thread-assignment-transitioned",
+ "docs/api-reference/webhooks/email-received",
+ "docs/api-reference/webhooks/email-sent",
+ "docs/api-reference/webhooks/thread-labels-changed",
+ "docs/api-reference/webhooks/customer-created",
+ "docs/api-reference/webhooks/customer-updated",
+ "docs/api-reference/webhooks/customer-deleted",
+ "docs/api-reference/webhooks/customer-group-membership-changed",
+ "docs/api-reference/webhooks/thread-priority-changed"
+ ]
+ },
+ {
+ "group": "UI Components",
+ "pages": [
+ "docs/api-reference/ui-components/introduction",
+ "docs/api-reference/ui-components/badge",
+ "docs/api-reference/ui-components/container",
+ "docs/api-reference/ui-components/copy-button",
+ "docs/api-reference/ui-components/divider",
+ "docs/api-reference/ui-components/link-button",
+ "docs/api-reference/ui-components/plain-text",
+ "docs/api-reference/ui-components/row",
+ "docs/api-reference/ui-components/spacer",
+ "docs/api-reference/ui-components/text"
+ ]
+ },
+ "docs/api-reference/attachments"
+ ]
+ }
+ ],
+ "footerSocials": {
+ "twitter": "https://twitter.com/plainsupport",
+ "linkedin": "https://www.linkedin.com/company/plainsupport"
}
+}
diff --git a/pages/graphql/api-explorer.mdx b/pages/graphql/api-explorer.mdx
deleted file mode 100644
index 75e5a1e..0000000
--- a/pages/graphql/api-explorer.mdx
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: 'API Explorer'
-icon: 'link'
-url: 'https://app.plain.com/developer/api-explorer/?workspaceId=w_01H3FZJ8MG74GFXA5WA3MPB446'
----