The Laravel Cloud API and CLI are here. Build pipelines, manage environments, and hand off to AI agents. View the docs →
curl --request POST \
--url https://cloud.laravel.com/api/websocket-servers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"type": "reverb",
"region": "us-east-2",
"max_connections": 123
}
'{
"data": {
"id": "<string>",
"type": "websocketServers",
"attributes": {
"name": "<string>",
"type": "reverb",
"region": "us-east-2",
"status": "creating",
"max_connections": 100,
"connection_distribution_strategy": "evenly",
"hostname": "<string>",
"created_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"applications": {
"data": [
{
"type": "websocketApplications",
"id": "<string>"
}
]
}
}
},
"included": [
{
"id": "<string>",
"type": "websocketApplications",
"attributes": {
"name": "<string>",
"app_id": "<string>",
"allowed_origins": [
"<unknown>"
],
"ping_interval": 123,
"activity_timeout": 123,
"max_message_size": 123,
"max_connections": 123,
"key": "<string>",
"secret": "<string>",
"created_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"server": {
"data": {
"type": "websocketServers",
"id": "<string>"
}
}
}
}
]
}Create a new WebSocket cluster with a default application.
curl --request POST \
--url https://cloud.laravel.com/api/websocket-servers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"type": "reverb",
"region": "us-east-2",
"max_connections": 123
}
'{
"data": {
"id": "<string>",
"type": "websocketServers",
"attributes": {
"name": "<string>",
"type": "reverb",
"region": "us-east-2",
"status": "creating",
"max_connections": 100,
"connection_distribution_strategy": "evenly",
"hostname": "<string>",
"created_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"applications": {
"data": [
{
"type": "websocketApplications",
"id": "<string>"
}
]
}
}
},
"included": [
{
"id": "<string>",
"type": "websocketApplications",
"attributes": {
"name": "<string>",
"app_id": "<string>",
"allowed_origins": [
"<unknown>"
],
"ping_interval": 123,
"activity_timeout": 123,
"max_message_size": 123,
"max_connections": 123,
"key": "<string>",
"secret": "<string>",
"created_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"server": {
"data": {
"type": "websocketServers",
"id": "<string>"
}
}
}
}
]
}Documentation Index
Fetch the complete documentation index at: https://cloud.laravel.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
The Bearer Token generated on the Cloud UI.
3 - 40^[a-z0-9_-]+$reverb us-east-2, us-east-1, ca-central-1, eu-central-1, eu-west-1, eu-west-2, me-central-1, ap-southeast-1, ap-southeast-2, ap-northeast-1 Was this page helpful?