Token
SlackTokenPayload :
Parameter | Type | Required(*) | Description |
---|---|---|---|
webhook | object | Obtained directly from the incoming_webhook object in the installation response from the Slack API. | |
└ url | string | * | |
oauth | object | ||
└ scope | string | ||
└ channel_id | string | * | |
└ installation_id | string | * |
Example
{
"webhook": {
"url": "https://example.com/webhook"
}
}
Schema
{
"$id": "slackToken",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"minProperties": 1,
"properties": {
"oauth": {
"properties": {
"channel_id": {
"type": "string"
},
"installation_id": {
"type": "string"
},
"scope": {
"type": "string"
}
},
"required": [
"channel_id",
"installation_id"
],
"type": "object"
},
"webhook": {
"description": "Obtained directly from the incoming_webhook object in the installation response from the Slack API.",
"properties": {
"url": {
"format": "uri",
"minLength": 1,
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}
},
"type": "object"
}