Creates a Token for a given RelationshipTemplate

Parameters

  • fileId is the id of the File the Token should be created for.
  • expiresAt is the ISODateTime the Token expires at.
  • ephemeral indicates if the Token should be ephemeral and thus not be stored and cached on the local database. This is especially useful for Tokens which are created regularly, e.g. for RelationshipTemplates and doesn’t need to be stored.

On Success

  • Returns the created Token.

On Failure

  • templateId does not resolve to a RelationshipTemplate.
  • expiresAt lies in the past

How to execute this use case with the Connector?

The Connector is our first-class citizen, thus we provide you with a detailed API description for every use-case. This use case can be executed with the REST API of the Connector which you can Access the Connector.
Corresponding interactive API docs excerpt: