Skip to content

ForgeInvocationPayload

Defined in: packages/core/src/adapters/ForgeInvocationPayload.ts:54

The top-level Forge Remote invocation payload.

This represents what Forge sends as the request body when calling your Remote backend. The payload is signed and verified by Forge before delivery.

Note: This type covers the fields documented by Atlassian. The actual payload may contain additional undocumented fields that vary by invocation context.

[key: string]: unknown

Additional properties — Forge may include extra fields depending on the invocation context and module type.

appSystemToken: string

Defined in: packages/core/src/adapters/ForgeInvocationPayload.ts:70

Short-lived app system token for authenticating requests through the Forge egress proxy (FORGE_EGRESS_PROXY_URL).

This token:

  • Is specific to this invocation
  • Has a short TTL (typically minutes, not hours)
  • Must be passed in the forge-proxy-authorization header

context: ForgeInvocationContext

Defined in: packages/core/src/adapters/ForgeInvocationPayload.ts:75

Invocation context — user, site, and app information.


installationId: string

Defined in: packages/core/src/adapters/ForgeInvocationPayload.ts:59

The installation ID for this app installation. Use this to identify which installation is making the request.


optional payload?: unknown

Defined in: packages/core/src/adapters/ForgeInvocationPayload.ts:81

The payload sent by the Forge module that triggered this invocation. Shape depends on the module type (webtrigger, custom-ui, etc.)