Skip to content
Navigation

Run a trigger

POST
https://api.cloudraker.com/triggers/{triggerId}/fire
Try it
Path parameters
Request body
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • triggerId
    string
    required
    maxLength: 128 · pattern: ^trg_[A-Za-z0-9_-]+$

Request body JSON required

  • requestId
    string
    required
    maxLength: 200 · minLength: 1
  • input
    optional
    map of
    unknown

Returns

200

The existing delivery outcome.

JSON
  • data
    object
    required
    • status
      queued
      or
      opened
      or
      busy
      or
      needs_input
      or
      blocked
      or
      error
      required
    • deliveryId
      string
      required
    • sessionId
      optional
      string
      maxLength: 128 · minLength: 1
    • message
      optional
      string
      maxLength: 1000

202

The queued delivery.

JSON
  • data
    object
    required
    • status
      queued
      or
      opened
      or
      busy
      or
      needs_input
      or
      blocked
      or
      error
      required
    • deliveryId
      string
      required
    • sessionId
      optional
      string
      maxLength: 128 · minLength: 1
    • message
      optional
      string
      maxLength: 1000

400

validation_failed: a request parameter or body field is invalid.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

402

credits_exhausted — the organization has no run credit left.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

403

run_as_inactive — the executing member is not active in this organization.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

404

space_not_found — a named space does not exist or the executing member may not contribute to it; agent_not_found — a named agent does not exist.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

409

trigger_conflict — that webhook address or email address is already used in this organization, or a channel key rotation is unsettled; trigger_limit — 50 enabled triggers is the maximum; trigger_migration_in_progress — a legacy transfer still owns this source.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

422

agent_not_published — a named agent has no published version.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

Type to search…

↑↓ navigate↵ selectEsc close