Token

SlackTokenPayload :

ParameterTypeRequired(*)Description
webhookobjectObtained directly from the incoming_webhook object in the installation response from the Slack API.
└ urlstring*
oauthobject
└ scopestring
└ channel_idstring*
└ installation_idstring*

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"
}