{
  "args": {
    "invite_object_team": {
      "default": "false",
      "desc": "Optional flag to add all team members related to the object to the newly created Salesforce channel. When true, adds a maximum of 100 team members to the channel.",
      "example": "true",
      "required": false,
      "type": "boolean"
    },
    "object_id": {
      "desc": "Object / Record ID (15 or 18 digit accepted). See here for how to look up an ID.",
      "example": "0019000000DmehKAAR",
      "required": true,
      "type": "string"
    },
    "salesforce_org_id": {
      "desc": "Salesforce org ID (15 or 18 digit accepted). See here for how to look up Salesforce org ID.",
      "example": "00DGC00000024hsuWY",
      "required": true,
      "type": "string"
    }
  },
  "desc": "Create a Salesforce channel for the corresponding object provided.",
  "errors": {
    "channel_already_exists": "Object is linked to a different channel.",
    "feature_not_enabled": "Feature not enabled.",
    "invalid_org_id": "Value passed for `salesforce_org_id` is invalid.",
    "missing_record_channel_config": "Record Channels are not enabled for the given object type.",
    "record_not_found": "Value passed for `object_id` is invalid.",
    "restricted_action": "User does not have access to perform this action."
  },
  "rate_limit": {
    "label": "Tier 2: 20+ per minute",
    "url": "https://docs.slack.dev/apis/web-api/rate-limits"
  },
  "scopes": {
    "user": [
      {
        "name": "admin.conversations:manage_objects",
        "url": "https://docs.slack.dev/reference/scopes/admin.conversations.manage_objects"
      }
    ]
  }
}

