Slack.Web.Canvases.Sections (SlackKit v1.0.0-alpha.0)

View Source

Summary

Functions

Find sections matching the provided criteria

Functions

lookup(canvas_id, criteria, optional_params \\ %{})

Find sections matching the provided criteria

API reference

Rate limit: Tier 3: 50+ per minute
Scopes:

View on docs.slack.dev ↗

Required Params

  • canvas_id - Encoded ID of the canvas ex: F1234ABCD
  • criteria - Filtering criteria ex: {"section_types": ["any_header"], "contains_text": "CAN Report"}

Errors the API can return:

  • canvas_deleted - The canvas you wish to search is not available.
  • canvas_disabled_user_team - Canvas is disabled on user's team.
  • canvas_not_found - The canvas you wish to search for is not available.

See the Common Errors guide for errors returned by every Web API method.