From c4d673c10127c7e8d1f52aa8bb1c119638894e87 Mon Sep 17 00:00:00 2001 From: DubhAd Date: Mon, 21 Jan 2019 20:32:16 +0000 Subject: [PATCH] Adding link to the Authentication docs Adding a link to the authentication docs, to make it more obvious. Also explained that the LLAT replaces just ABCDEFGH --- docs/external_api_rest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/external_api_rest.md b/docs/external_api_rest.md index ddf48457..733d24c7 100644 --- a/docs/external_api_rest.md +++ b/docs/external_api_rest.md @@ -11,7 +11,7 @@ If you are not using the [`frontend`](https://www.home-assistant.io/components/f The API accepts and returns only JSON encoded objects. -All API calls have to be accompanied by the header `Authorization: Bearer ABCDEFGH`. You can obtain a token ("Long-Lived Access Token") by logging into the frontend using a web browser, and going to your profile `http://IP_ADDRESS:8123/profile`. +All API calls have to be accompanied by the header `Authorization: Bearer ABCDEFGH`, where `ABCDEFGH` is replaced by your token. You can obtain a token ("Long-Lived Access Token") by logging into the frontend using a web browser, and going to [your profile](https://www.home-assistant.io/docs/authentication/#your-account-profile) `http://IP_ADDRESS:8123/profile`. There are multiple ways to consume the Home Assistant Rest API. One is with `curl`: