Skip to main content
POST
cURL
Check out the configuration docs for Laravel Forge Connections to learn how to obtain the required credentials.

Body

application/json
method
enum<string>
required

The method used to authenticate with Laravel Forge.

Available options:
api-token
credentials
object
required

The credentials used to connect with Laravel Forge.

name
string
required

The name of the Laravel Forge Connection to create. Must be slug-friendly.

Required string length: 1 - 64
description
string | null

An optional description for the Laravel Forge Connection.

Maximum string length: 256
projectId
string

The ID of the project to create the Laravel Forge Connection in.

isPlatformManagedCredentials
enum<boolean>

Not supported for Laravel Forge Connections.

Available options:
false
gatewayId

Not supported for Laravel Forge Connections.

gatewayPoolId

Not supported for Laravel Forge Connections.

isAutoRotationEnabled
enum<boolean>

Not supported for Laravel Forge Connections.

Available options:
false
rotation

Not supported for Laravel Forge Connections.

Response

Default Response

appConnection
Laravel Forge (API Token) · object
required