Get A Sentry Interactive User’s Public Key
warning
This endpoint is only available to users with Sentry Interactive issued auth tokens.
This endpoint allows the retrieval of a user's public key along with their ID. If user is not found, one is created for the specified USER_EMAIL.
HTTP Request
POST https://api.doordeck.com/share/invite/USER_EMAIL
Query Parameters
| Parameter | Required | Description |
|---|---|---|
| visitor | false | Defaults to false, set to true to direct the visitor to a purely web based experience. |
Example
- Request
- Response
CURL
curl 'https://api.doordeck.com/share/invite/USER_EMAIL' \
-X POST \
-H 'authorization: Bearer TOKEN' \
-H 'content-type: application/json'
Remember
- Replace
TOKENwith your access token. - Replace
USER_EMAILwith the user's email.
JSON
{
"id":"00000000-0000-0000-0000-000000000000",
"publicKey":"base 64 encoded public key"
}