Skip to main content
POST
Create change

Restrictions

Usage

  • channel_id must be a collaboration space of the account; otherwise InvalidParameter. The caller must be able to write changes there: the account owner or an admin, the space’s creator, a member of its owning or managing teams, or any member for a public space. Otherwise the call returns AccessDenied.
  • change_status defaults to Planned; any of the six statuses can be set on create.
  • The returned change_key has the form CHG-<yyyyMMdd>-<4 characters>. To address a change by a key of your own, report it through a change integration instead.
  • planned_start_time and planned_end_time accept Unix seconds or milliseconds (milliseconds are stored as seconds). planned_end_time must not be earlier than planned_start_time.
  • link must be empty or an absolute http or https URL.
  • Label keys that don’t match [a-zA-Z_][a-zA-Z0-9_]* are stored with spaces and punctuation replaced by _.
  • Each fields key must be an enabled custom field available to changes, and its value must fit the field’s type and options; otherwise InvalidParameter naming fields.<name>.
  • Fields the account’s change form marks as required, including fields required only under conditions, must be filled; otherwise InvalidParameter with required fields missing or empty: <keys>.
  • In checklist, by and at are ignored: an item sent with done: true is recorded as ticked by the caller at the time of the call.
  • When the change form binds a notification group for the collaboration space, a notification is sent to it.
  • Every call is recorded in the account audit log.

Authorizations

app_key
string
query
required

APP Key created in the Flashduty console under My → APP Key. Send it as the app_key query parameter or in the Fd-App-Key request header. Its effective access is the intersection of the key's permission scope and the creator's current role permissions. Keep it secret.

Body

application/json
title
string
required

Change title, non-empty.

Minimum string length: 1
channel_id
integer<int64>
required

Collaboration space the change belongs to. Can't be changed later.

Required range: x >= 1
description
string

Change description.

change_status
enum<string>
default:Planned

Initial status. Defaults to Planned.

Available options:
Planned,
Ready,
Processing,
Canceled,
Done,
Failed

External link to the change record: an absolute http or https URL, or empty.

labels
object

Key-value labels. Keys outside [a-zA-Z_][a-zA-Z0-9_]* are stored with spaces and punctuation replaced by _.

planned_start_time
integer<int64>

Planned start, Unix timestamp in seconds or milliseconds.

Required range: x >= 0
planned_end_time
integer<int64>

Planned end, Unix timestamp in seconds or milliseconds; not earlier than planned_start_time.

Required range: x >= 0
operator
string

Person performing the change, as a member email or a free-form name.

impact
string

Impact of the change, as Markdown.

backout_plan
string

Rollback plan of the change, as Markdown.

checklist
object[]

Execution checklist. by and at are ignored; an item with done: true is recorded as ticked by the caller.

fields
object

Custom field values, keyed by field name. Each key must be an enabled custom field available to changes.

Response

Success

Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.

request_id
string
required

Unique ID for this request. Mirrored in the Flashcat-Request-Id response header. Include it when reporting issues.

Example:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

data
object

The created change.