> For the complete documentation index, see [llms.txt](https://edentech.gitbook.io/foodie/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edentech.gitbook.io/foodie/laravel-admin-backend/app-api.md).

# App API

After setting up your server, the next thing is to make sure your apps are set to use your server for making requests.

The api your apps should be connecting to is going to be&#x20;

**<https://YOUR\\_SERVER\\_URL/api>**

As you can see in the project, the apps api is

{% embed url="<https://food.thesnaptask.com/api/>" %}

## API Authentication

Now if you try to make request to the api endpoint from the api you should be getting error like `Access token error`

Here is what you need to do to allow Authorized requests to your api. Run the command below in your project directory on your server.

```
php artisan passport:install
```
