Party Controller

Start Party Activity

Path: /api/party/start-activity

Method: POST

Example Http Request

POST /api/party/start-activity HTTP/1.1
Content-Type: application/json
Content-Length: 71
Host: localhost:8080

{"activityId":null,"activityName":"My party activity","sessionId":null}

Example Http Response

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
Content-Length: 440

{"timestamp":"24/05/2026 02:01:33.175","partyId":"609db282-d8ed-4b20-85e5-065756a910f2","hostPlayerId":"null","partyName":"My Party","accessType":"PRIVATE","partyPeople":[],"partyStatus":"STARTED","hostPeerId":"UpdatedGuestPeerID5678","hostAudioStatus":"DEFAULT","hostPartyCallStatus":"CONNECTED","partyActivities":[{"activityId":"7ccb071e-473a-405b-a0ff-2c90a3f286ba","activityName":"My party activity","sessionId":null}],"partyApps":null}

Example Curl Request

$ curl 'http://localhost:8080/api/party/start-activity' -i -X POST \
    -H 'Content-Type: application/json' \
    -d '{"activityId":null,"activityName":"My party activity","sessionId":null}'

Party Controller Footer