API
Learn how to get started and interact with the Laravel Forge API.
Overview
Forge provides a comprehensive API that allows you to programmatically manage your Forge servers and sites. To learn more, please review the Forge API documentation.
The official Laravel Forge PHP SDK provides an expressive interface for interacting with Forge’s API and managing Laravel Forge servers.
Managing API Tokens
API tokens can be managed in Forge’s API dashboard.
Create a new API Token
You will need to generate an API token to interact with the Forge API. Tokens are used to authenticate your account without providing personal details. You can create as many tokens as you need for your individual integrations.
Delete an API Token
If you no longer need an API token, you may delete it by clicking the X button next to the token name within your API token dashboard.
Rate Limits
The Forge API currently imposes a rate limit of 60 requests per minute. If you exceed this limit, you will receive a 429 Too Many Requests
response.