Rex Software MCP by usefulapi
v1.14.1Read contacts, listings, tenancies and tasks; create a person contact, note or reminder.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
rex_get_user_profile Get the signed-in Rex user
The Rex user this server is signed in as: user id, name, email, whether they own the account, position and default office. Good first call. POST /v1/rex/UserProfile/read.
rex_list_accessible_accounts List the Rex accounts the user can access
The Rex agency accounts (account_id and name) this user can sign in to. A user with several accounts picks one with the Account id field when connecting. POST /v1/rex/UserProfile/getAccessibleAccounts.
rex_describe_search_fields List the search fields of a Rex service
The field names a search on the given service accepts in criteria, each with its label, type and (for enums) the value list. Call this before building criteria on a field you are not sure of. Sorting (order_by) uses a separate list of sortable fields whose names can differ (for example name_last, not contact.name_last): set include_order_by to get it. POST /v1/rex/<Service>/describeSearchFields (and <Service>/describeModel for include_order_by).
| Parameter | Type | Description |
|---|---|---|
service * | string | The Rex service, for example Contacts or Listings. |
include_order_by | boolean | Also return the service's model description, which lists the fields order_by accepts (they can differ from the search field names). |
match | string | Only fields whose name or label contains this text (case-insensitive). The big services have hundreds of fields, so filter. |
rex_list_value_lists List the Rex value lists
The names of Rex's value lists (the allowed ids for fields such as note types, reminder types, lead sources and property categories). Use a name with rex_get_value_list. POST /v1/rex/SystemValues/getValueCategories.
rex_get_value_list Get the values of a Rex value list
The allowed values (id and label) of one value list, for example property_category. The ids are what writes and criteria expect. POST /v1/rex/SystemValues/getCategoryValues.
| Parameter | Type | Description |
|---|---|---|
list_name * | string | The list name from rex_list_value_lists. |
rex_autocomplete_contacts Find contacts by name
Quick lookup of contacts by (part of) a name: returns the best matches with id, name, email and phone. Use the id with rex_get_contact. POST /v1/rex/Contacts/autocomplete.
| Parameter | Type | Description |
|---|---|---|
search_string * | string | Part of the contact's or company's name. |
limit | integer | Matches to return, 1-50 (default 10). |
rex_autocomplete_listings Find listings by address
Quick lookup of listings by (part of) an address: returns the best matches with listing id and address. Use the id with rex_get_listing. POST /v1/rex/Listings/autocomplete.
| Parameter | Type | Description |
|---|---|---|
search_string * | string | Part of the property address, for example '12 Smith St' or 'Subiaco'. |
limit | integer | Matches to return, 1-50 (default 10). |
listing_states | array | Only listings in these states, for example ["current"] (see rex_get_value_list listing_system_state). |
rex_search_contacts Search contacts
Search contacts (people and companies). Filters (criteria) combine with AND; results are paged with offset/limit (next_offset says where to continue). Useful fields: contact.name_full, contact.name_first, contact.name_last, contact.email_address, contact.phone_number, contact.type, contact.tags, contact.interest_level, contact.last_contacted_date, system_modtime. To find someone by name, rex_autocomplete_contacts is simpler. POST /v1/rex/Contacts/search.
| Parameter | Type | Description |
|---|---|---|
criteria | array | Filters, combined with AND: [{ name, type?, value }]. Only the in type gives an OR. Field names come from rex_describe_search_fields. |
limit | integer | Rows to return, 1-100 (default 20). Use next_offset to read the next page. |
offset | integer | Rows to skip (default 0). Use next_offset from the previous reply. |
order_by | object | Sort, sortable field name to direction, for example { "system_modtime": "DESC" }. Sortable names can differ from search field names (rex_describe_search_fields with include_order_by lists them). |
search_state | string | Which records to search: active (default), archive or trash. |
rex_search_listings Search listings
Search listings (properties for sale or rent). Filters (criteria) combine with AND; results are paged with offset/limit (next_offset says where to continue). Useful fields: listing.system_listing_state (for example "current"), listing.system_publication_status, listing.price_match, listing.listing_agent_id, listing.listing_category_id, property.adr_suburb_or_town, property.adr_postcode, property.adr_street_name, property.attr_bedrooms. To find a listing by address, rex_autocomplete_listings is simpler. POST /v1/rex/Listings/search.
| Parameter | Type | Description |
|---|---|---|
criteria | array | Filters, combined with AND: [{ name, type?, value }]. Only the in type gives an OR. Field names come from rex_describe_search_fields. |
limit | integer | Rows to return, 1-100 (default 10). Use next_offset to read the next page. |
offset | integer | Rows to skip (default 0). Use next_offset from the previous reply. |
order_by | object | Sort, sortable field name to direction, for example { "system_modtime": "DESC" }. Sortable names can differ from search field names (rex_describe_search_fields with include_order_by lists them). |
search_state | string | Which records to search: active (default), archive or trash. |
rex_search_properties Search properties
Search properties (the physical addresses behind listings, appraisals and tenancies). Filters (criteria) combine with AND; results are paged with offset/limit (next_offset says where to continue). Useful fields: property.system_search_key, property.adr_suburb_or_town, property.adr_postcode, property.adr_street_name, property.attr_bedrooms, property.attr_bathrooms. POST /v1/rex/Properties/search.
| Parameter | Type | Description |
|---|---|---|
criteria | array | Filters, combined with AND: [{ name, type?, value }]. Only the in type gives an OR. Field names come from rex_describe_search_fields. |
limit | integer | Rows to return, 1-100 (default 20). Use next_offset to read the next page. |
offset | integer | Rows to skip (default 0). Use next_offset from the previous reply. |
order_by | object | Sort, sortable field name to direction, for example { "system_modtime": "DESC" }. Sortable names can differ from search field names (rex_describe_search_fields with include_order_by lists them). |
search_state | string | Which records to search: active (default), archive or trash. |
rex_search_leads Search leads
Search leads (enquiries from portals, the website and email). Filters (criteria) combine with AND; results are paged with offset/limit (next_offset says where to continue). Useful fields: lead.contact_id, lead.listing_id, lead.property_id, lead.assignee_id, lead.lead_source_id, lead.lead_status_id, lead.system_completed_time, system_ctime. POST /v1/rex/Leads/search.
| Parameter | Type | Description |
|---|---|---|
criteria | array | Filters, combined with AND: [{ name, type?, value }]. Only the in type gives an OR. Field names come from rex_describe_search_fields. |
limit | integer | Rows to return, 1-100 (default 10). Use next_offset to read the next page. |
offset | integer | Rows to skip (default 0). Use next_offset from the previous reply. |
order_by | object | Sort, sortable field name to direction, for example { "system_modtime": "DESC" }. Sortable names can differ from search field names (rex_describe_search_fields with include_order_by lists them). |
search_state | string | Which records to search: active (default), archive or trash. |
rex_search_appraisals Search appraisals
Search appraisals (listing presentations / market appraisals). Filters (criteria) combine with AND; results are paged with offset/limit (next_offset says where to continue). Useful fields: appraisal_date, appraisal_state, appraisal_type_id, agent_id, property_id, listing_id, pipeline_stage_id, expected_close_date, price_asking. POST /v1/rex/Appraisals/search.
| Parameter | Type | Description |
|---|---|---|
criteria | array | Filters, combined with AND: [{ name, type?, value }]. Only the in type gives an OR. Field names come from rex_describe_search_fields. |
limit | integer | Rows to return, 1-100 (default 20). Use next_offset to read the next page. |
offset | integer | Rows to skip (default 0). Use next_offset from the previous reply. |
order_by | object | Sort, sortable field name to direction, for example { "system_modtime": "DESC" }. Sortable names can differ from search field names (rex_describe_search_fields with include_order_by lists them). |
search_state | string | Which records to search: active (default), archive or trash. |
rex_search_tenancies Search tenancies
Search tenancies (property management leases). Filters (criteria) combine with AND; results are paged with offset/limit (next_offset says where to continue). Useful fields: id, property_id, system_record_state, lease_current_expiry, crt.contact_id. POST /v1/rex/Tenancies/search.
| Parameter | Type | Description |
|---|---|---|
criteria | array | Filters, combined with AND: [{ name, type?, value }]. Only the in type gives an OR. Field names come from rex_describe_search_fields. |
limit | integer | Rows to return, 1-100 (default 20). Use next_offset to read the next page. |
offset | integer | Rows to skip (default 0). Use next_offset from the previous reply. |
order_by | object | Sort, sortable field name to direction, for example { "system_modtime": "DESC" }. Sortable names can differ from search field names (rex_describe_search_fields with include_order_by lists them). |
search_state | string | Which records to search: active (default), archive or trash. |
rex_search_reminders Search reminders and tasks
Search reminders (follow-up tasks) linked to contacts, properties and listings. Filters (criteria) combine with AND; results are paged with offset/limit (next_offset says where to continue). Useful fields: reminder_date, system_completed_time, remindee_user_id, contact_id, property_id, listing_id, reminder_type_id, priority_id. Open reminders have no system_completed_time (type is, value Null). POST /v1/rex/Reminders/search.
| Parameter | Type | Description |
|---|---|---|
criteria | array | Filters, combined with AND: [{ name, type?, value }]. Only the in type gives an OR. Field names come from rex_describe_search_fields. |
limit | integer | Rows to return, 1-100 (default 10). Use next_offset to read the next page. |
offset | integer | Rows to skip (default 0). Use next_offset from the previous reply. |
order_by | object | Sort, sortable field name to direction, for example { "system_modtime": "DESC" }. Sortable names can differ from search field names (rex_describe_search_fields with include_order_by lists them). |
search_state | string | Which records to search: active (default), archive or trash. |
rex_search_appointments Search appointments
Search appointments (calendar items such as inspections and meetings). Filters (criteria) combine with AND; results are paged with offset/limit (next_offset says where to continue). The searchable fields follow Reminders (reminder_date, remindee_user_id, contact_id, property_id, listing_id). Call rex_describe_search_fields with service Appointments for the full list. POST /v1/rex/Appointments/search.
| Parameter | Type | Description |
|---|---|---|
criteria | array | Filters, combined with AND: [{ name, type?, value }]. Only the in type gives an OR. Field names come from rex_describe_search_fields. |
limit | integer | Rows to return, 1-100 (default 20). Use next_offset to read the next page. |
offset | integer | Rows to skip (default 0). Use next_offset from the previous reply. |
order_by | object | Sort, sortable field name to direction, for example { "system_modtime": "DESC" }. Sortable names can differ from search field names (rex_describe_search_fields with include_order_by lists them). |
search_state | string | Which records to search: active (default), archive or trash. |
rex_search_notes Search notes
Search notes recorded against contacts and properties. Filters (criteria) combine with AND; results are paged with offset/limit (next_offset says where to continue). Useful fields: system_ctime, system_created_user_id, id. Notes have no listing_id field (Rex answers 400 InvalidFieldException): call rex_describe_search_fields with service Notes first and filter by the related listing, contact or property field names it lists. POST /v1/rex/Notes/search.
| Parameter | Type | Description |
|---|---|---|
criteria | array | Filters, combined with AND: [{ name, type?, value }]. Only the in type gives an OR. Field names come from rex_describe_search_fields. |
limit | integer | Rows to return, 1-100 (default 20). Use next_offset to read the next page. |
offset | integer | Rows to skip (default 0). Use next_offset from the previous reply. |
order_by | object | Sort, sortable field name to direction, for example { "system_modtime": "DESC" }. Sortable names can differ from search field names (rex_describe_search_fields with include_order_by lists them). |
search_state | string | Which records to search: active (default), archive or trash. |
rex_search_deals Search deals
Search deals (the sales pipeline). Filters (criteria) combine with AND; results are paged with offset/limit (next_offset says where to continue). Useful fields: deal.deal_state, deal.expected_close_date, deal.archive_date, deal.tags, deal.description. POST /v1/rex/Deals/search.
| Parameter | Type | Description |
|---|---|---|
criteria | array | Filters, combined with AND: [{ name, type?, value }]. Only the in type gives an OR. Field names come from rex_describe_search_fields. |
limit | integer | Rows to return, 1-100 (default 20). Use next_offset to read the next page. |
offset | integer | Rows to skip (default 0). Use next_offset from the previous reply. |
order_by | object | Sort, sortable field name to direction, for example { "system_modtime": "DESC" }. Sortable names can differ from search field names (rex_describe_search_fields with include_order_by lists them). |
search_state | string | Which records to search: active (default), archive or trash. |
rex_search_activities Search activities
Search activities (the log of calls, emails and other actions on records). Filters (criteria) combine with AND; results are paged with offset/limit (next_offset says where to continue). Useful fields: parent_object_type, parent_object_id, type_id, system_ctime, system_created_user_id. POST /v1/rex/Activities/search.
| Parameter | Type | Description |
|---|---|---|
criteria | array | Filters, combined with AND: [{ name, type?, value }]. Only the in type gives an OR. Field names come from rex_describe_search_fields. |
limit | integer | Rows to return, 1-100 (default 20). Use next_offset to read the next page. |
offset | integer | Rows to skip (default 0). Use next_offset from the previous reply. |
order_by | object | Sort, sortable field name to direction, for example { "system_modtime": "DESC" }. Sortable names can differ from search field names (rex_describe_search_fields with include_order_by lists them). |
search_state | string | Which records to search: active (default), archive or trash. |
rex_search_listing_events Search listing events
Search listing events (open homes and inspections). Filters (criteria) combine with AND; results are paged with offset/limit (next_offset says where to continue). Call rex_describe_search_fields with service ListingEvents for the searchable fields. POST /v1/rex/ListingEvents/search.
| Parameter | Type | Description |
|---|---|---|
criteria | array | Filters, combined with AND: [{ name, type?, value }]. Only the in type gives an OR. Field names come from rex_describe_search_fields. |
limit | integer | Rows to return, 1-100 (default 10). Use next_offset to read the next page. |
offset | integer | Rows to skip (default 0). Use next_offset from the previous reply. |
order_by | object | Sort, sortable field name to direction, for example { "system_modtime": "DESC" }. Sortable names can differ from search field names (rex_describe_search_fields with include_order_by lists them). |
search_state | string | Which records to search: active (default), archive or trash. |
rex_search_users Search users
Search the users (staff) of the agency account. Filters (criteria) combine with AND; results are paged with offset/limit (next_offset says where to continue). Useful fields: first_name, last_name, email, status, user_group_id. User ids are used elsewhere as agent, assignee and remindee ids. POST /v1/rex/AccountUsers/search.
| Parameter | Type | Description |
|---|---|---|
criteria | array | Filters, combined with AND: [{ name, type?, value }]. Only the in type gives an OR. Field names come from rex_describe_search_fields. |
limit | integer | Rows to return, 1-100 (default 20). Use next_offset to read the next page. |
offset | integer | Rows to skip (default 0). Use next_offset from the previous reply. |
order_by | object | Sort, sortable field name to direction, for example { "system_modtime": "DESC" }. Sortable names can differ from search field names (rex_describe_search_fields with include_order_by lists them). |
search_state | string | Which records to search: active (default), archive or trash. |
rex_search_campaigns Search campaigns
Search campaigns (nurture and marketing campaigns with their members). Filters (criteria) combine with AND; results are paged with offset/limit (next_offset says where to continue). Call rex_describe_search_fields with service Campaigns for the searchable fields. POST /v1/rex/Campaigns/search.
| Parameter | Type | Description |
|---|---|---|
criteria | array | Filters, combined with AND: [{ name, type?, value }]. Only the in type gives an OR. Field names come from rex_describe_search_fields. |
limit | integer | Rows to return, 1-100 (default 20). Use next_offset to read the next page. |
offset | integer | Rows to skip (default 0). Use next_offset from the previous reply. |
order_by | object | Sort, sortable field name to direction, for example { "system_modtime": "DESC" }. Sortable names can differ from search field names (rex_describe_search_fields with include_order_by lists them). |
search_state | string | Which records to search: active (default), archive or trash. |
rex_get_contact Get a contact
One contact by id (names, emails, phones, addresses, tags, relationships and the related properties and listings). The id comes from a search or autocomplete. POST /v1/rex/Contacts/read.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The contact id. |
fields | array | Limit the reply to these parts of the record ("core" is always included; related data is "related.<name>"). Omit for the whole record, which is large. |
rex_get_listing Get a listing
One listing by id (state, price, agents, the property with its attributes, images, related contacts and events). The id comes from a search or autocomplete. POST /v1/rex/Listings/read.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The listing id. |
fields | array | Limit the reply to these parts of the record ("core" is always included; related data is "related.<name>"). Omit for the whole record, which is large. |
rex_get_property Get a property
One property by id (address, attributes (bedrooms, land area and so on), features, owners and the property's history). The id comes from a search or autocomplete. POST /v1/rex/Properties/read.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The property id. |
fields | array | Limit the reply to these parts of the record ("core" is always included; related data is "related.<name>"). Omit for the whole record, which is large. |
rex_get_lead Get a lead
One lead by id (contact, source, status, assignee and the original enquiry). The id comes from a search or autocomplete. POST /v1/rex/Leads/read.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The lead id. |
rex_get_appraisal Get an appraisal
One appraisal by id (date, state, agents, property, price expectations and commission estimate). The id comes from a search or autocomplete. POST /v1/rex/Appraisals/read.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The appraisal id. |
rex_get_tenancy Get a tenancy
One tenancy by id (property, tenants, lease dates and rent). The id comes from a search or autocomplete. POST /v1/rex/Tenancies/read.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The tenancy id. |
rex_get_note Get a note
One note by id (text, type and the contacts and properties it is linked to). The id comes from a search or autocomplete. POST /v1/rex/Notes/read.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The note id. |
rex_get_deal Get a deal
One deal by id (state, value, parties and expected close date). The id comes from a search or autocomplete. POST /v1/rex/Deals/read.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The deal id. |
rex_get_reminder Get a reminder
One reminder by id (description, date, remindee, completion state and linked records). The id comes from a search or autocomplete. POST /v1/rex/Reminders/read.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The reminder id. |
rex_create_contact Create a person contact
WRITE: create a new person contact in Rex with a name and optionally one email and one phone. Search first (rex_autocomplete_contacts) to avoid duplicates. Not retried. Returns the new contact id. POST /v1/rex/Contacts/create.
| Parameter | Type | Description |
|---|---|---|
first_name * | string | First name. |
last_name * | string | Last name. |
email | string | Primary email address. |
phone | string | Primary phone number. |
phone_type | string | Phone type id from the value list (for example mobile, home or work); omit to let Rex choose. |
rex_create_note Create a note
WRITE: add a note to one or more contacts and/or properties (for example after a call or an open home). Not retried. Returns the new note id. POST /v1/rex/Notes/create.
| Parameter | Type | Description |
|---|---|---|
note * | string | The note text. |
contact_ids | array | Contacts the note is about. |
note_type | string | Note type id from the value list (for example phonecall); omit to use Rex's default. |
property_ids | array | Properties the note is about. |
update_last_contacted | boolean | Also set the contacts' last-contacted date to today. |
rex_create_reminder Create a reminder
WRITE: create a follow-up reminder (task) of a reminder type, due on a date, optionally linked to a contact, property or listing and assigned to a user (default: Rex's default remindee). Not retried. Returns the new reminder id. POST /v1/rex/Reminders/create.
| Parameter | Type | Description |
|---|---|---|
date * | string | Due date, yyyy-mm-dd. |
description * | string | What to do, for example 'Call Will about the appraisal'. |
reminder_type * | string | Reminder type id (for example email). Rex rejects a reminder without one (HTTP 400). Find the reminder type list with rex_list_value_lists and read its ids with rex_get_value_list; ask the user which… |
contact_id | integer | Contact id to link. |
listing_id | integer | Listing id to link. |
priority | string | Priority id from the value list (for example high). |
property_id | integer | Property id to link. |
remindee_user_id | integer | The Rex user id to remind (from rex_search_users); omit for the default. |