partyInvite
Invite a player to your party.
They must accept in their own client — this only sends the invitation. Watch `party.members` for them to appear.
In Party.
Request
POST /api/v1/sessions/{accountKey}/actions/partyInvite
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
accountId (account_id) | string | yes | From `partyFind`. |
characterId (character_id) | string | no | Their character id, from `partyFind`. |
name | string | no | Their name, used only for the status banner. |
Example request
{ "accountId": "acc-2", "characterId": "char-2", "name": "Alice" }
Response
`{ ok: true }`; watch `party` for them to join.
Example response
{ "ok": true }
Errors
| Code | When |
|---|---|
action_failed | No character is in the lobby, or `accountId` was empty. |
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.