POST /v1/connect/token/{connector}/import

Import access and refresh tokens for a connector identified by the path parameter.

Servers

Path parameters

Name Type Required Description
connector String Yes

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
tokens[] Array Yes
tokens[].installation Object No
tokens[].installation.id String Yes
tokens[].installation.name String No
tokens[].refreshTokenExpiresAt Number No
tokens[].installationId String No
tokens[].externalSubject String No
tokens[].authorizationDetails[] Array No
tokens[].authorizationDetails[].type String No
tokens[].environment String Yes

Valid values:

  • "preview"
  • "development"
  • "production"
tokens[].subject Yes
tokens[].tenant Object No
tokens[].tenant.id String Yes
tokens[].tenant.name String No
tokens[].scopes[] Array No
tokens[].data Object No
tokens[].refreshToken String No
tokens[].accessToken String Yes
tokens[].name String No
tokens[].expiresAt Number Yes
tokens[].resources[] Array No
tokens[].audience[] Array No

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.