Skip to main content
This example shows how to request a temporary upload URL from EveryBite and then upload a DoorDash items.json catalog directly to private S3 storage.
DoorDash does not need an AWS account or AWS credentials for this upload. The temporary URL returned by EveryBite carries its own signature.
1

Request an upload URL

The EveryBite-issued DoorDash bearer token must be available in the EVERYBITE_DOORDASH_TOKEN environment variable.
Example response:
2

Upload items.json

Copy the complete uploadUrl from the response and use it before expiresAt:
A successful S3 upload normally returns an empty response body. The uploaded object will be stored at the objectKey returned by the API, for example:

Handling the upload URL

The temporary URL normally expires after approximately 15 minutes. Keep it quoted because it contains & characters, do not modify it, and send exactly Content-Type: application/json.