Skip to content

Commit

Permalink
Update Webhook Schema URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed Elghobaty committed Aug 9, 2024
1 parent ec6b40d commit 1aebf01
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion api-reference/webhooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ An additional `Authorization` header is sent if the webhook target URL contains

The request body is a `JSON` object with the fields below.

The JSON schema for Plain the webhook request body can be found [here](https://core-api.uk.plain.com/webhooks/schema.json).
The JSON schema for Plain the webhook request body can be found [here](https://core-api.uk.plain.com/webhooks/schema/latest.json).

| Field | Type | Description |
| ----------------- | -------- | -------------------------------------------------------------------------------------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion api-reference/webhooks/customer-created.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This event is fired when a new customer is created in your workspace.

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
2 changes: 1 addition & 1 deletion api-reference/webhooks/customer-deleted.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This event is fired when a customer is deleted from your workspace.

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The `changeType` field allows you to know what kind of change has occurred. It c

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
2 changes: 1 addition & 1 deletion api-reference/webhooks/customer-updated.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This event is fired when a customer is updated in your workspace. You can expect

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
2 changes: 1 addition & 1 deletion api-reference/webhooks/thread-assignment-transitioned.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This event is fired when the assignee of a thread changes or a thread is unassig

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
2 changes: 1 addition & 1 deletion api-reference/webhooks/thread-chat-sent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This event is fired when a chat message is sent to a customer in a thread.

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
2 changes: 1 addition & 1 deletion api-reference/webhooks/thread-created.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ You can subscribe to this event if you want to build an [autoresponder](/api-ref

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
2 changes: 1 addition & 1 deletion api-reference/webhooks/thread-email-received.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This event is fired when an email is received in your workspace.

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
2 changes: 1 addition & 1 deletion api-reference/webhooks/thread-email-sent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This event is fired when an email is sent in your workspace.

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
2 changes: 1 addition & 1 deletion api-reference/webhooks/thread-field-created.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This event is fired when a new thread field is created in your workspace.

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
2 changes: 1 addition & 1 deletion api-reference/webhooks/thread-field-deleted.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This event is fired when a thread field is deleted in your workspace.

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
2 changes: 1 addition & 1 deletion api-reference/webhooks/thread-field-updated.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This event is fired when a thread field is updated in your workspace.

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
2 changes: 1 addition & 1 deletion api-reference/webhooks/thread-labels-changed.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This event is fired when labels are added to or removed from a thread.

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
2 changes: 1 addition & 1 deletion api-reference/webhooks/thread-note-created.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This event is fired when a note is created in a thread.

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
2 changes: 1 addition & 1 deletion api-reference/webhooks/thread-priority-changed.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This event is fired when the priority of a thread changes.

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This event is fired when the status of an SLA linked to a thread changes.

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
2 changes: 1 addition & 1 deletion api-reference/webhooks/thread-slack-message-received.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ If the message is edited in Slack, this webhook will not fire again.

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
2 changes: 1 addition & 1 deletion api-reference/webhooks/thread-slack-message-sent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This event is fired when a Slack message is sent in your workspace.

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
2 changes: 1 addition & 1 deletion api-reference/webhooks/thread-status-transitioned.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This event is fired when the status of a thread changes.

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema/latest.json)

Example:

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"mintlify": "^4.0.82",
"prettier": "^3.1.0"
}
}
}

0 comments on commit 1aebf01

Please sign in to comment.