List sections
get_sectionsList a publication's sections and get their IDs, so you can assign the correct category when creating or updating drafts.
Instructions
List the publication's sections, which are the categories a post can be filed under. Call this to find the section_id that create_draft and update_draft take.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publication | No | Which connected publication to act on, matched loosely against its hostname (for example 'example.substack.com' or just 'example'). Defaults to the first connected publication. |