The Laravel Cloud API and CLI are here. Build pipelines, manage environments, and hand off to AI agents. View the docs →
cURL
curl --request POST \ --url https://cloud.laravel.com/api/websocket-servers/{websocketServer}/applications \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "ping_interval": 30, "activity_timeout": 30, "allowed_origins": [ "<string>" ] } '
{ "data": { "id": "<string>", "type": "websocketApplications", "relationships": {} }, "included": [ { "id": "<string>", "type": "websocketServers", "relationships": {} } ] }
Create a new application for a WebSocket cluster.
The Bearer Token generated on the Cloud UI.
The websocket server identifier
3 - 40
^[a-z0-9_-]+$
1 <= x <= 60
255
WebsocketApplicationResource
Show child attributes
Was this page helpful?