Skip to main content

contacts.get_all

Overview

  • Returns all contacts of the possessed character with blocked status and cached portraits.

Metadata

FieldValue
DisplayGet All Contacts
Categorycontacts
AccessPublic
ScopeB2Authority
Tags
Aliases

Parameters

  • This command takes no parameters.

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
contactsarrayyesContacts of the possessed character
contacts[].entity_identityIdyesContact entity id
contacts[].first_namestringyesFirst name
contacts[].last_namestringyesLast name
contacts[].household_identityIdnoContact's household id
contacts[].genderstringnoGender enum name
contacts[].age_groupstringnoAge group enum name
contacts[].gender_textstringnoLocalized gender
contacts[].age_group_textstringnoLocalized age group
contacts[].current_sitestringnoCurrent site name
contacts[].portrait_urlstringnoCached portrait URL
contacts[].is_marriedboolnoWhether married
contacts[].spouse_identityIdnoSpouse entity id (if married)
contacts[].has_careerboolyesHas any career
contacts[].employableboolyesEligible for new employment
contacts[].job_namestringnoLocalized job name
contacts[].job_rankintnoJob rank
contacts[].job_rank_namestringnoLocalized job rank name
contacts[].relationship_labelstringnoRelationship label toward the possessed character

Usage

await inzoi.cli.execute('contacts.get_all');