Get Access Token

Go to Product

Returns a single access token or OAuth-connected app grant, whichever the ID refers to — the same shape each already appears in on the list endpoint.

Options

Token Id
Stringified ObjectId (hexadecimal string with 24 characters). See ObjectId
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.
  • Redirect Uris: The redirect URIs the connected application registered.
  • Refresh Token Expires At: When the underlying OAuth refresh token stops being valid. Once past, the connected application must go through the authorization flow again.
  • Client Uri: The connected application's homepage, if it provided one.
  • Logo Uri: The connected application's logo, if it provided one.

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.