UserImages endpoint requires AWS Signature Authentication ? | Community
Skip to main content

UserImages endpoint requires AWS Signature Authentication ?

  • October 16, 2023
  • 1 reply
  • 0 views

Yogesh11

I want to use UserImages endpoint(https://developer.zendesk.com/api-reference/help_center/help-center-api/user_images/) and for that, it is mentioned in the API that we need to follow 3 steps to upload the image.

1. In the first step, I need to fire the following URL to get the Upload URL and Token.

POST /api/v2/guide/user_images/uploads

The Upload URL that I got in the response appears to be a URL for an Amazon S3 object (a file) stored in an S3 bucket.

2. In the second step, I need to make a put request to the upload URL that I got in the response of the first step, so there, do I need to use the AWS Signature Authentication?

1 reply

Hi Yogesh,
 
Step 1 returns a pre-signed upload URL, so you'll just need to include the headers returned by the step 1 response in your upload request.  Have you encountered in issue in the upload process?