Get Logo Upload URL
warning
This endpoint is only available to users with Sentry Interactive issued auth tokens.
Gets a pre-signed URL ready for uploading the application logo to.
HTTP Request
POST https://api.doordeck.com/platform/application/APPLICATION_ID/logo
Request Parameters
| Parameter | Required | Description |
|---|---|---|
| contentType | true | Content-type of the logo (image/png or image/jpeg) |
Example
- Request
- Response
CURL
curl 'https://api.doordeck.com/platform/application/APPLICATION_ID/logo' \
-X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TOKEN' \
--data-binary '{"contentType": "IMAGE_CONTENT_TYPE"}'
Remember
- Replace
TOKENwith your access token. - Replace
APPLICATION_IDwith the application ID. - Replace
IMAGE_CONTENT_TYPEwith the image's content type.
JSON
{
"uploadUrl": "PRESIGNED_URL"
}