Utility services in the TonicDM API (0.0.1)

Utility services in the TonicDM API

Download OpenAPI description
Languages
Servers
Mock server

https://developers-internal.tonicdm.com/_mock/utilities/utilities/

Server located in the USA

https://us-api.tonicdm.com/

Server located in Germany

https://de-api.tonicdm.com/

Server located in Ireland

https://ie-api.tonicdm.com/

Tokens

Tokens for users who access 3rd party systems

Operations

Get 3rd Party Token

Request

Get a token to be used by the back end to access a 3rd party system on behalf of a user.

Query
platformstringrequired

Defines the cloud platform to use.

Enum"egnyte""sharepoint""msgraph""procore""acc"
Example: platform=egnyte
sourcestring(email)required

The project whose data will be moved. This project will be deleted.

curl -i -X GET \
  'https://developers-internal.tonicdm.com/_mock/utilities/utilities/tokens/token?platform=egnyte&source=user%40example.com' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Successfully read the resource you requested. One or more records are returned in the form of an array.

Bodyapplication/json
platformstring(Platform)

The name of the 3rd party platform that the TonicDM user or organization is connected to.

Default "active"
Enum"egnyte""sharepoint""msgraph""procore"
emailAddressstring(email)

The email address of the user requesting the token.

tokenstringread-only

The OAuth2 access token.

expiryDatetimestring(date-time)read-only

The date and time this token will expire.

Response
application/json
{ "platform": "egnyte", "emailAddress": "reg@pacific-architects.com", "token": "1234567890abcdef", "expiryDatetime": "2022-12-31T23:59:59Z" }