Skip to content
Components

Bearer Token Authentication

Bearer token authentication sends a token in the Authorization header of each API request.

This method is available through UI. You can select the Bearer Token method and fill in the token.

img.png

In the underlying JSON, the Bearer Token is implemented as follows:

Place your token into the config.#__BEARER_TOKEN parameter. The Authorization header is then constructed using the concat function.

{
"api": {
...,
"http": {
"headers": {
"Authorization": {
"function": "concat",
"args": [
"Bearer ",
{
"attr": "#__BEARER_TOKEN"
}
]
}
}
}
},
"config": {
"#__BEARER_TOKEN": "secret",
"jobs": [...]
}
}
Ask Kai

Hi, I'm Kai — Keboola's AI assistant for the docs. Ask me anything and I'll answer from the documentation and cite the pages I use.

Kai is an AI and can make mistakes. Check the sources it links.