Skip to main content
The Laravel Forge API allows you to programmatically interact with your Laravel Forge account and manage your organizations, servers, sites, and other resources.

Base URL

The base URL for the Laravel Forge API is:

Authentication

The Laravel Forge API uses token-based authentication. You can generate an API token from your Laravel Forge account settings. Once you have your token, include it in the Authorization header of your API requests as follows:

Headers

All API requests must include the following headers:

Errors

The Laravel Forge API uses standard HTTP status codes to indicate the success or failure of an API request. Common status codes include: