partyAnswer
Accept or decline an invite you were sent.
Answers the invite in `party.incoming`.
In Party.
Request
POST /api/v1/sessions/{accountKey}/actions/partyAnswer
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
accountId (account_id, returnAccountId) | string | yes | Who invited you — from `party.incoming`. |
accept | boolean | yes | Whether to accept. |
Example request
{ "accountId": "acc-9", "accept": true }
Response
{ "ok": true }
Example response
{ "ok": true }
Errors
| Code | When |
|---|---|
action_failed | No character is in the lobby. |
plan_limit | Not on the free plan. |
See also
DarkerAPI is an independent project. It is not affiliated with, endorsed by or associated with IRONMACE Co., Ltd. or Valve Corporation. “Dark and Darker” and related marks belong to their respective owners.