Skip to main content

SessionTokenRequestApiKeyAuthenticator

Authenticator for requests using the session token as an API key that's injected into the request.

  • type: object
  • required: ["type","inject_into"]

type​

  • Required: Yes
  • enum: ["ApiKey"]

inject_into​

Configure how the API Key will be sent in requests to the source API.

Examples:

inject_into: header
field_name: Authorization
inject_into: request_parameter
field_name: authKey

api_token​

A template for the token value to inject. Use {{ session_token }} to reference the session token. For example, use "Token {{ session_token }}" for APIs that expect "Authorization: Token ".

  • Required: No
  • type: string
  • default: {{ session_token }}
  • Available variables: config, session_token

Examples:

{{ session_token }}
Token {{ session_token }}
Bearer {{ session_token }}
Was this page helpful?