diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index dfe59394e..fb43f3594 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -7331,6 +7331,10 @@ "type": "string" }, "description": "Header to attach to callback request." + }, + "token": { + "type": "string", + "format": "byte" } } }, diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index 7c91c447f..5cb9d857f 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -7350,6 +7350,9 @@ components: additionalProperties: type: string description: Header to attach to callback request. + token: + type: string + format: bytes CanceledFailureInfo: type: object properties: diff --git a/temporal/api/common/v1/message.proto b/temporal/api/common/v1/message.proto index 838f5fefc..300788b47 100644 --- a/temporal/api/common/v1/message.proto +++ b/temporal/api/common/v1/message.proto @@ -173,6 +173,9 @@ message Callback { string url = 1; // Header to attach to callback request. map header = 2; + // A token that is used to recreated context when handling the callback request. + // Supported from server version 1.30. + bytes token = 3; } // Callbacks to be delivered internally within the system.