selectRegion

Choose the matchmaking region.

Matchmaking will not start without one. In a party only the leader's choice counts; the server broadcasts it to the members.

In Dungeons.

Request

POST /api/v1/sessions/{accountKey}/actions/selectRegion

Parameters

NameTypeRequiredDescription
regionintegeryesThe region id.

Example request

{ "region": 1 }

Response

`{ ok, result, region }`.

FieldTypeMeaning
okbooleanFalse with a non-success `result` means the server refused the region — it does not raise an error.

Example response

{ "ok": true, "result": 1, "region": 1 }

Errors

CodeWhen
action_failedNo character is in the lobby.
plan_limitNot 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.