ReferenceNotifications

updateNotificationCallbackConfig mutation

Updates the callback configuration, including the callback URL, API key, and request timeout value.

Syntax

1mutation {
2 updateNotificationCallbackConfig(
5}

Example

1mutation {
2 updateNotificationCallbackConfig (
3 input: {
4 callbackConfigId: "1969081f-8380-4dbd-9a19-c26fc1747b06",
5 callbackUrl : "https://testcallbackurl.com",
6 apiKey : "newapikey",
7 requestTimeoutSeconds: 50
8 })
9 {
10 callbackConfig {
11 id
12 callbackUrl
13 secretExpirationDateTime
14 requestTimeoutSeconds
15 }
16 }
17}

Arguments

NameDescription

input

Required.

Details used when updating the callback configuration.

Type: UpdateNotificationCallbackConfigInput

Types


Name
Type
ID
ID

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

Int
Int

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

LocalDateTime
LocalDateTime

A type representing a date and time (such as 2007-12-03T10:15:30).

NotificationCallbackConfig
Object

Details about the callback configuration.

FieldDescription
callbackUrlNot nullable.

Callback URL (REST endpoint) where real-time events are sent.

Type: Url
idNot nullable.

ID of the callback configuration.

Type: ID
requestTimeoutSecondsNot nullable.

Amount of time (in seconds) we wait for the partner to respond when a notification is sent to them. If a response is not received within request timeout time, the notification is retried according to the retry policy.

Type: Int
secretExpirationDateTimeNot nullable.

Expiration date and time for the secret.

Type: LocalDateTime
String
String

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

UpdateNotificationCallbackConfigInput
InputObject

Details to use when updating the callback configuration.

FieldDescription
apiKey

Updated API key.

Type: String
callbackConfigIdNot nullable.

ID of callback configuration to update.

Type: ID
callbackUrl

Updated callback URL (REST endpoint).

Type: Url
requestTimeoutSeconds

Updated request timeout in seconds. Specify values between 1-60; default value is 60.

Type: Int
UpdateNotificationCallbackConfigPayload
Object

Details about the callback configuration after it is updated.

FieldDescription
callbackConfigNot nullable.

Information about the updated callback configuration.

Type: NotificationCallbackConfig
Url
Url

Scalar type whose value conforms to the standard URL format as specified in RFC3986 specification.