Skip to main content

Create application

warning

This endpoint is only available to users with Sentry Interactive issued auth tokens.

This endpoint allows the creation of an application; an application is how user's are divided between third-parties within Sentry Interactive and define certain branding, UI and authentication elements.

The user creating the application will automatically be assigned as the owner.

HTTP Request

POST https://api.doordeck.com/platform/application

Request Parameters

ParameterRequiredDescription
nametrueApplication's name
companyNametrueCompany's registered name, e.g. Sentry Interactive
mailingAddresstrueCompany's registered address, e.g. IDEALondon, 69 Wilson Street, LONDON, EC2A 2BB
privacyPolicyfalseURI to the application's privacy policy, must start with https://
supportContactfalseURI to application's support contact, can start with https:// or mailto://
appLinkfalseURI for deep linking into the application directly
emailPreferencesfalseSee email preference definition below
logoUrlfalseURI to application's logo, must be hosted on https://cdn.doordeck.com/

The email preferences object is formed of the following fields

ParameterRequiredDescription
senderEmailfalse (defaults to info@doordeck.com)Email address to use when sending emails to users'
senderNamefalse (defaults to Doordeck)Email name to use when emailing users'
primaryColourfalse (defaults to #00283C)Primary colouring for email
secondaryColourfalse (defaults to #45BDD1)Secondary colouring for email
onlySendEssentialEmailsfalse (defaults to false)Restrict the emails to be sent to only the essential ones
callToActionfalseSee call to action definition

The call to action is formed of the following fields

ParameterRequiredDescription
actionTargettrueURI to direct user's to when clicking CTA
headlinetrueTextual description for CTA, e.g. "Use the Sentry Interactive App to make unlocking a breeze!"
actionTexttrueText used for the CTA button, e.g. "Download now!"

Example

CURL
curl 'https://api.doordeck.com/platform/application' \
-X POST \
-H "Authorization: Bearer TOKEN" \
-H 'content-type: application/json' \
--data-binary '{"name":"My Amazing App","companyName":"My amazing company","mailingAddress":"My address"}'
Remember

Replace TOKEN with your access token.