Skip to main content

clientImageUpload

Uploads an image to the client image store. The image is replaced if it has the same filename as an existing file. The filename of the image can be used as an argument in other mutation inputs, such as when building a PaymentRequest prompt.

This endpoint follows the multipart-request-spec

Security Note: Images can be retrieved without authorization being necessary.

This field requires the following scope:

[client_imageupload]

clientImageUpload(
image: Upload!
): FileUploadPayload!

Arguments

image ● Upload! non-null scalar

Type

FileUploadPayload object

The location and metadata of an uploaded file.