v1

latestOpenAPI 3.1.02026-07-1410021.9 KB

Contract

Returns contract information

get/contracts

Query parameters

platformstring required

The platform requested. Possible values are Epic, PlayStation, Steam, Switch, Xbox.

publicIdstring required

The contract's ID, formatted as #-##-#######-##

Response

200

publicIdstring
internalIdstring
namestring
locationCodenamestring
locationstring
platformstring
creatorUserIdstring
descriptionstring

Example response

{
  "publicId": "1-00-0000000-00",
  "internalId": "00000000-0000-0000-0000-000000000000",
  "name": "Some Name",
  "locationCodename": "LOCATION_EDGY_FOX",
  "location": "Berlin (Apex Predator)",
  "platform": "Epic",
  "creator": {
    "id": "00000000-0000-0000-0000-000000000000",
    "gamertag": "[REDACTED]",
    "displayName": "[REDACTED]"
  },
  "description": "Description\r\rFoo",
  "objectives": [
    {
      "target": {
        "name": "Magdalena Hauer",
        "image": "https://media.hitmaps.com/img/hitman3/actors/actor_c9d75c7e-80a8-4e6b-8a96-92488aab7ffb_0_0_0.jpg"
      },
      "killMethod": {
        "name": "Striker",
        "image": "https://media.hitmaps.com/img/hitman3/unlockables/item_perspective_15291f69-88d0-4a8f-b31b-71605ba5ff38_0.jpg",
        "subtext": "Pistol"
      },
      "disguise": {
        "name": "Phantom Suit",
        "image": "https://media.hitmaps.com/img/hitman3/unlockables_override/47_outfits_reward_s2ghostmode_phantomsuit.jpg"
      }
    }
  ]
}