Skip to main content

Removal of presignedPostFields field from GenerateInkPresignedUrl mutation

Action Required
July 11, 2025, 3:37 p.m.

What is changing?

The GenerateInkPresignedUrl mutation provides the necessary information for users to securely upload Ink Message attachments for use in the createInkInboundMessage mutation.

The deprecated presignedPostFields GraphQL field, which is available on this mutation, is being removed.

The presignedPostFields field is outdated and on occasion holds malformed data, which causes errors when trying to upload files to AWS. The strict typing within this field isn't always feasible for the data, as the data varies in format.

This has been replaced by the fields field. The fields field contains the JSON data required for uploading an Ink Message attachment.

Timeline

The removal date is set for the 25th of July 2025.

What do I need to do?

Please stop using the presignedPostFields field, a validation error will be raised if there are attempts to access it once it has been removed. Use the fields field instead.

Before

 mutation Run($input: GenerateInkPresignedUrlInput!){
        generateInkPresignedUrl(input: $input) {
            uploadUrl
            presignedPostFields {
                key
                awsAccessKeyId
                xAmzSecurityToken
                policy
                signature
            }
            fields
        }
    }

After

  mutation Run($input: GenerateInkPresignedUrlInput!){
        generateInkPresignedUrl(input: $input) {
            uploadUrl
            fields
        }
    }