Create Access Token

Go to Product

Creates a new access token that can be used instead of a login to authenticate API requests. The full token is only ever returned in this response, so make sure to store it right away.

Options

Body

The JSON request body. Pre-filled with an example which is derived from the schema.

Validate JSON
Checks “Body” against the JSON schema of the API. This happens on demand only, i.e. a failed check does not prevent the node from being executed — ultimately, the API itself decides what it accepts.
Body: Validation
Result of the last “Validate JSON” run, i.e. a confirmation or the list of schema violations. Not saved with the node settings.
Result Format

Specify how the response should be mapped to the table output. The following formats are available:

Structured Table: Returns a parsed table with data split into rows and columns.

  • ID: Stringified ObjectId (hexadecimal string with 24 characters). See ObjectId
  • Kind: Identifies this object as an access token.
  • Type: Whether this is a personal access token or an OAuth grant issued to a connected application.
  • User: Stringified ObjectId (hexadecimal string with 24 characters). See ObjectId
  • Description: A human-readable label: the token's description (personal access tokens) or the name the connected application identified itself with when it registered (OAuth grants).
  • Scope: What the access token can be used for: read (read-only access to all resources) or write (full read/write access to all resources).
  • Expires At: When the token stops being valid.
  • Last Used At: When the token was last used to authenticate a request. Absent if it's never been used.
  • Last Used Ip: The IP address the token was last used from. Absent if it's never been used.
  • Request Count: Number of requests authenticated with this token so far.
  • Created At: When the token was created.
  • Deletable: Whether this token can be revoked. Always true — any access token can be revoked.
  • Prefix: The token's non-secret prefix, letting you recognize it without seeing the full value.
  • Token: The full token. Store it now; it cannot be viewed again after this response.

Raw Response: Returns the raw response in a single row with the following columns:

  • body: Response body
  • status: HTTP status code

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.