Skip to main content

Get Application Users

This endpoint returns a paginated list of users belonging to an application. Results are capped at 100 per page; use lastUserRetrieved to cursor through subsequent pages.

Requesting user must be an application owner.

HTTP Request

GET https://api.doordeck.com/platform/application/APPLICATION_ID/user

Request Parameters

ParameterRequiredDescription
applicationIdtrueApplication ID to retrieve users for
pageSizetrueNumber of users to return per page (maximum 100)
lastUserRetrievedfalseUser ID of the last user returned in the previous page; omit to start from the beginning

Response Parameters

ParameterDescription
userIdSentry Interactive's own user ID for the given user
foreignKeyThe application's own identifier for this user
displayNameThe user's display name; null if not set
emailThe user's email address; null if not set
emailVerifiedWhether the user has verified their email address
telephoneThe user's telephone number; null if not set
telephoneVerifiedWhether the user has verified their telephone number
emailIndexedWhether the user's email is in the application's lookup directory; use this to detect conflicting records by email
telephoneIndexedWhether the user's telephone number is in the application's lookup directory; use this to detect conflicting records by telephone
foreignKeyIndexedWhether the user's foreign key is in the application's lookup directory; use this to detect conflicting records by your own user ID
lastUpdatedISO 8601 timestamp of when the user record was last modified

The *Indexed fields indicate whether a user record is present in the application's lookup directory. Application developers can use these to identify conflicting records — for example, whether another user already occupies a given email address or foreign key.

Example

CURL
curl 'https://api.doordeck.com/platform/application/APPLICATION_ID/user?pageSize=100&lastUserRetrieved=LAST_USER_ID' \
-X GET \
-H 'Authorization: Bearer TOKEN'
Remember
  • Replace TOKEN with your access token.
  • Replace APPLICATION_ID with the application ID.
  • Replace LAST_USER_ID with the userId of the last user returned from the previous page, or omit the lastUserRetrieved parameter entirely to retrieve the first page.