Skip to content

Create listing

Listings API · listings.create

URL · Fields · Example · Response · Try it

URL and authentication

POST https://YOUR-BACKEND/api/automation/v1/execute

Send Authorization: Bearer <connection key>, Accept: application/json and Content-Type: application/json. Create a connection.

This operation requires write access and CRM permission add_listing. The gateway invokes POST /api/v1/app/listing internally. Use the POST URL above with your automation key, including for read and delete operations.

Request parameters

KeyTypeRequirement
operationstringRequired; exactly listings.create
dataobjectRequired; see fields below
idempotency_keystringRequired; 8–100 characters. Unique per action; keep unchanged for identical retries.

Fields

New binary uploads are not supported through this gateway. Upload images/documents through the CRM. Creation uses assigned_to_id for assignment. Required size depends on the listing type and installation configuration.

Fields below belong inside data. Dot paths describe nested objects; * means each array item. nullable permits null and sometimes validates a supplied field. in: lists allowed values; min: and max: limit the value, length or item count. exists: and exists_in_company: require a valid record ID. Conditional rules such as required_if and required_with refer to other fields in the same payload. Use YYYY-MM-DD for date-only values and timestamps with timezone offsets for follow-ups.

FieldTypeRequirementFormat / validation
titlestringRequiredrequired; string
descriptionstringRequiredrequired; string
bathroomsintegerOptionalnullable; integer
is_exclusivebooleanOptionalnullable; boolean
bedroomsintegerOptionalnullable; integer
parkingsintegerOptionalnullable; integer
pricenumberOptionalnullable; numeric
sizenumberConditionalnumeric — Required unless the listing type is land/agricultural when those types are configured; otherwise nullable.
plot_sizenumberOptionalnullable; numeric
total_floorsintegerOptionalnullable; integer; min:1
statusstringRequiredrequired; string; in:draft,active,under_negotiation,reserved,finalizing,closed,archived
furnishedstringOptionalnullable; string; in:furnished,semi-furnished,unfurnished
developer_idintegerOptionalnullable; integer; exists_in_company:developers
build_yearstringOptionalnullable; date_format:Y
imagesarrayOptionalnullable; array
images.*string|objectOptionalnullable — Existing media reference: string or object with id, url, or key. New uploads are not supported by the automation gateway. Use the CRM to upload media.
apply_watermarkbooleanOptionalnullable; boolean
documentsarrayOptionalnullable; array
documents.*fileOptionalnullable; file; mimes:ppt,pptx,doc,docx,pdf,xls,xlsx; max:10240 — Binary upload is not supported by the JSON automation gateway; use the CRM upload interface.
default_imagestringOptionalnullable; string
listing_purposestringRequiredrequired; string; in:sell,rent
floor_numberintegerOptionalnullable; integer
unit_numberstringOptionalnullable; string
source_idintegerOptionalnullable; integer; integer; exists_in_company:listing_sources
default_periodstringOptionalnullable; string
rent_frequencystringOptionalnullable; string; in:daily,weekly,monthly,yearly,quarterly,half_yearly
video_linkstringOptionalnullable; url
vr_linkstringOptionalnullable; url
listing_type_idintegerRequiredrequired; integer; exists:listing_types,id
locationobjectRequiredrequired; array
location.addressstringRequiredrequired; string
location.longnumberRequiredrequired; numeric
location.latnumberRequiredrequired; numeric
location.place_idstringRequiredrequired; string
owner_idintegerOptionalnullable; integer; exists_in_company:leads
assigned_to_idintegerOptionalnullable; integer; exists_in_company:users
amenitiesarrayOptionalnullable; array
amenities.*integerOptionalnullable; integer; integer; exists_in_company:amenities
floor_plansarrayOptionalnullable; array
floor_plans.*.titlestringConditionalrequired_with:floor_plans; string
floor_plans.*.bedroomsintegerOptionalnullable; integer
floor_plans.*.pricenumberOptionalnullable; numeric
floor_plans.*.sizestringOptionalnullable; string
floor_plans.*.imagesarrayOptionalnullable; array
floor_plans.*.images.*imageOptionalnullable; image; mimes:jpeg,jpg,png,webp,gif,svg; max:10240 — Binary upload is not supported by the JSON automation gateway; use the CRM upload interface.
database_record_idintegerOptionalnullable; integer; exists:cold_calling_leads,id
custom_fields_dataobjectOptionalarray — Object keyed by field_<id>. Required fields depend on your installation. URL fields require a URL; percentages are 0–100. File custom fields cannot be uploaded through this JSON API.

Example request

Replace the example IDs and values with records in your installation. Supply any additional custom fields required by your company.

{
  "operation": "listings.create",
  "data": {
    "title": "Example apartment",
    "description": "Synthetic listing for API testing.",
    "status": "draft",
    "listing_purpose": "sell",
    "listing_type_id": 1,
    "size": 1000,
    "location": {
      "address": "Dubai Marina, Dubai",
      "lat": 25.0805,
      "long": 55.1403,
      "place_id": "REPLACE_WITH_REAL_PLACE_ID"
    }
  },
  "idempotency_key": "example-event-12345"
}

Response

Returns the created listing in data. Use data.id for subsequent requests. Related fields depend on the resource and your permissions.

The gateway preserves the underlying HTTP status and JSON body. Successful requests return HTTP 200. A response may also include localized message fields.

Illustrative response excerpt (additional fields may be returned):

{
  "status": "success",
  "data": {
    "id": 456,
    "title": "Example apartment",
    "status": "draft",
    "listing_purpose": "sell"
  }
}

Errors

HTTP statusMeaning
400A CRM business rule rejected the action.
401Missing, invalid, expired or revoked connection key.
403Connection access or CRM permissions do not allow this action.
404Operation or record unavailable.
409This idempotency key was already used with a different request.
413Request or result exceeds its size limit; reduce payload or page size.
422Missing or invalid fields, or a CRM business rule rejected the operation.
429Rate limit exceeded; wait before retrying.
500The server could not complete the operation.

Validation failures may return message / errors, or an error string with an optional fields array. The tester shows the actual HTTP status and full body. Read about limits and retries.

Try it

Brixit API v1

Try this request

listings.create

Requests run from your browser to your installation. Enter the backend URL shown in Brixit. Your connection key stays in this component’s memory and is cleared when you leave this page.

CRM permission: add_listing. Underlying route: POST /api/v1/app/listing. Send this operation to POST /execute.

Example IDs are placeholders. Use your own record and lookup IDs. Required custom fields depend on your installation.

POST /api/automation/v1/execute

Accept: application/json
Authorization: Bearer <connection key>
Content-Type: application/json

An idempotency key of 8–100 characters is required for writes. Reuse it only for an identical retry.

Code uses a connection-key variable; your entered key is never included in copied examples.