Topics

Bulk update

Update multiple topics at once. Supports changing priority, archiving (archived=true), and unarchiving (archived=false). At least one field must be provided. Use this instead of calling the single update endpoint multiple times. IDs that match no topic are skipped, and updatedTopicIds lists only the topics that changed. If any ID names a topic archived in the v1 to v2 migration, nothing is changed and the request returns 404 with data.reason archived_in_v1_to_v2_migration.

patch/topics/bulk

Request

  • Base URL: https://api.modem.dev/v1
  • URL: https://api.modem.dev/v1/topics/bulk
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Replays a successful mutating request for 24 hours. Reuse with a different payload returns 409.

Request body

archivedboolean

Set to true to archive topics, false to unarchive them.

archivedReasonstring

Optional reason for archiving. Only used when archived=true.

priority'default' | 'high' | 'low' | 'very_high' | 'very_low'

Update all topics to this priority. Valid values: very_low, low, default, high, very_high.

Response

OK

updatedCountnumber required

Changes

No recorded changes to this operation across all 1 revision of this API.