# \#auth-apikey

**URL:** https://community.gladysassistant.com/tag/auth-apikey/100.md

[Latest](https://community.gladysassistant.com/latest.md) · [Categories](https://community.gladysassistant.com/categories.md) · [Tags](https://community.gladysassistant.com/tags.md)

---

## [REST API Usage](https://community.gladysassistant.com/t/utilisation-api-rest/8372)

<div class="topic-metadata">

**Author:** [@Terdious](https://community.gladysassistant.com/u/Terdious)\
**Replies:** 2\
**Last updated:** [September 22, 2023, 7:38pm UTC](https://community.gladysassistant.com/t/utilisation-api-rest/8372 "2023-09-22T19:38:22Z")

</div>

Hello, I would like to make requests properly on NODE-RED. No problem with authentication and the access\_token. But

---

## [Authentication with api\_key](https://community.gladysassistant.com/t/authentification-avec-api-key/6592)

<div class="topic-metadata">

**Author:** [@Jean-Philippe](https://community.gladysassistant.com/u/Jean-Philippe)\
**Replies:** 7\
**Last updated:** [October 13, 2021, 6:35am UTC](https://community.gladysassistant.com/t/authentification-avec-api-key/6592 "2021-10-13T06:35:19Z")

</div>

I noticed that you can create an "api\_key", but when you do this, the token in the session does not have a value in the "valid\_until" field, so requests made with the api\_key are systematically rejected. Is...

---

## [Open API with long-term authentication token](https://community.gladysassistant.com/t/api-ouverte-avec-jeton-dauthentification-longue-duree/5540)

<div class="topic-metadata">

**Author:** [@peb](https://community.gladysassistant.com/u/peb)\
**Replies:** 7\
**Last updated:** [September 20, 2021, 5:31am UTC](https://community.gladysassistant.com/t/api-ouverte-avec-jeton-dauthentification-longue-duree/5540 "2021-09-20T05:31:22Z")

</div>

In V3, it was possible to generate application tokens to facilitate access to the REST API by adding &token=xxxxx in the call. This would make it easier to create scripts for Automate or Taskr.
