GitHub Repository


Apiato Postman API & Environment

If you use Postman to build and explore your API’s you will find this predefined Apiato Postman collection a great start to your new Apiato project. Simply download both the Environment and Collection to Postman to get started.


Configure Apiato

It’s important that you run the following shell commands to migrate and seed your database. The next command configures a Laravel Passport client. Finally you need to run the last command to grant the Admin user with full permission to access all routes.

php artisan migrate:refresh --seed
php artisan passport:client --password
php artisan apiato:permissions:toRole admin

Be sure to copy and paste your new Client Id and Client Secret into the .env file. Like so…



The above steps will ensure you have a functioning Apiato API environment to explore with Postman.

Download & Install Postman

Visit the Postman website and download the application.

Add Apiato Environment & Collection to Postman


Using the Postman Apiato API Collection

The first thing you need to do to use the Apiato endpoints is to login to your Apiato API.

The response will return a body with the API access token. Normally you would have to manually add this in a header with each request using Authorization: Bearer TOKEN. This however is automatically done for you.

From this point you can now access all endpoints using the Super Admin role.

If you would like to test logging into your application with different users then switch to the body tab on the login endpoint and update the credentials.

	"email": "",
	"password": "admin"

Download Environment & Collection