Get party and quest

Read your party, its members and the current quest.

GET https://cotlet.dev/api/v1/habitica/party

read

Returns the party name, its members and, if a quest is running or pending, the quest name and whether each member has accepted, rejected or not answered. Returns no quest block when your party has none. Works only if you are in a party.

Parameters

No parameters.

Request

cURL
curl https://cotlet.dev/api/v1/habitica/party \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("habitica", "get_party")
Node.js
const result = await cotlet.call('habitica', 'get_party');
CLI
cotlet call habitica get_party

Example response

JSON

{
  "party": "Morning Club",
  "members": 5,
  "quest": {
    "name": "The Dilatory Distraction",
    "state": "pending",
    "owner": "Anna",
    "answers": {
      "accepted": 3,
      "rejected": 0,
      "pending": 2
    }
  }
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.