> ## Documentation Index
> Fetch the complete documentation index at: https://docs.signalproptech.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Send a unit

> One plot or unit in a development. Its status is what Signal's new-homes chat offers.



## OpenAPI

````yaml /openapi.json post /units
openapi: 3.1.0
info:
  title: Signal Partner API
  description: >-
    Send Signal enquiries, viewings and listings from your system, and receive
    what Signal learns back as signed webhooks. Every call is in beta:
    documented ahead of going live, it answers `501 not_available_yet` until
    then.
  contact:
    name: Signal
    url: https://signalproptech.com/
  version: 1.0.0-beta
servers:
  - url: https://api.signalproptech.com/api/v1/partner
    description: Production
security: []
tags:
  - name: Enquiries
    description: >-
      Hand Signal an enquiry that started in your system, and read where it
      stands.
  - name: Viewings
    description: >-
      Tell Signal about viewings booked in your system, so it can remind and ask
      for feedback.
  - name: Listings and new homes
    description: >-
      Keep Signal's copy of your listings, developments, units and reservations
      up to date.
  - name: Webhooks
    description: >-
      Register where Signal sends events, test it, and catch up on what you
      missed.
  - name: Events
    description: >-
      What Signal sends to your webhook, one page per event type. Check the
      webhook- headers before trusting the body.
paths:
  /units:
    post:
      tags:
        - Listings and new homes
      summary: Send a unit
      description: >-
        One plot or unit in a development. Its status is what Signal's new-homes
        chat offers.
      operationId: send_unit
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UnitIn'
        required: true
      responses:
        '200':
          description: >-
            Updated, or ignored because we already held a newer version (see
            `applied`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnitSynced'
        '201':
          description: Recorded. `applied` says whether this version was used.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnitSynced'
        '401':
          description: The key is missing, unknown or revoked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '413':
          description: The body is over 64 KB.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '415':
          description: The body is not JSON.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '422':
          description: Validation failed. `fields` lists each problem.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '429':
          description: Rate limited. Retry after the number of seconds in `Retry-After`.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '501':
          description: Not live yet (beta).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
      security:
        - AgencyKey: []
components:
  schemas:
    UnitIn:
      properties:
        development_ref:
          type: string
          maxLength: 128
          minLength: 1
          title: Development Ref
          description: Send the development first. An unknown one is a 422.
        ref:
          type: string
          maxLength: 128
          minLength: 1
          title: Ref
          description: Your id for the unit. How later calls find it.
        plot_number:
          type: string
          maxLength: 32
          minLength: 1
          title: Plot Number
          description: >-
            What buyers see, e.g. 7 for Plot 7. Unique within the development: a
            clash is a 422.
        house_type:
          anyOf:
            - type: string
              maxLength: 100
              minLength: 1
            - type: 'null'
          title: House Type
          description: A house type's name.
        bedrooms:
          anyOf:
            - type: integer
              maximum: 50
              minimum: 0
            - type: 'null'
          title: Bedrooms
          description: Number of bedrooms.
        bathrooms:
          anyOf:
            - type: integer
              maximum: 50
              minimum: 0
            - type: 'null'
          title: Bathrooms
          description: Number of bathrooms.
        floor_area_sqm:
          anyOf:
            - type: number
              maximum: 100000
              exclusiveMinimum: 0
            - type: 'null'
          title: Floor Area Sqm
          description: Floor area in square metres.
        price:
          anyOf:
            - $ref: '#/components/schemas/Money'
            - type: 'null'
          description: The asking price.
        status:
          type: string
          enum:
            - available
            - unreleased
            - reserved
            - exchanged
            - completed
          title: Status
          description: >-
            available: Signal's new-homes conversation can offer it. unreleased:
            not yet for sale. reserved / exchanged / completed: taken, so it's
            never offered. To take a unit off sale, send unreleased.
        features:
          items:
            type: string
          type: array
          title: Features
          description: >-
            Short feature phrases, e.g. Solar panels. Each is cut at 200
            characters.
        image_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Image Url
          description: >-
            Treated as absent, not refused, if we can't read it as a web
            address. Use https: an http image may not display.
        portal_ids:
          anyOf:
            - $ref: '#/components/schemas/PortalIds'
            - type: 'null'
          description: The unit's ids on the portals.
        updated_at:
          type: string
          format: date-time
          title: Updated At
          description: >-
            When it last changed in your system (if you don't track that, send
            the time of the call). An update older than the one we hold is
            ignored; the same time again is applied, so retries are safe.
      type: object
      required:
        - development_ref
        - ref
        - plot_number
        - status
        - updated_at
      title: UnitIn
      description: >-
        One plot or unit in a development. Send the whole record each time: a
        field you leave out is cleared.
    UnitSynced:
      properties:
        development_ref:
          type: string
          title: Development Ref
          description: Your development reference.
        ref:
          type: string
          title: Ref
          description: Your unit reference.
        status:
          type: string
          enum:
            - available
            - unreleased
            - reserved
            - exchanged
            - completed
          title: Status
          description: The unit's status as recorded.
        applied:
          type: boolean
          title: Applied
          description: >-
            False when we already held a newer version (by updated_at), so this
            one was ignored.
      type: object
      required:
        - development_ref
        - ref
        - status
        - applied
      title: UnitSynced
      description: What Signal did with a unit you sent.
    ErrorBody:
      properties:
        error:
          type: string
          title: Error
          description: >-
            Stable machine code: validation_failed, unauthorized, bad_request,
            forbidden, not_found, method_not_allowed, conflict, too_large,
            unsupported_media_type, rate_limited, cursor_expired,
            not_available_yet or internal_error. Any other status gives error.
        message:
          type: string
          title: Message
          description: What went wrong, in plain English.
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Request Id
          description: Quote this to us and we can find the call.
        fields:
          items:
            $ref: '#/components/schemas/FieldError'
          type: array
          title: Fields
          description: Each problem with the request. Empty for other errors.
      type: object
      required:
        - error
        - message
      title: ErrorBody
      description: Every error has this shape.
    Money:
      properties:
        amount:
          type: integer
          minimum: 0
          title: Amount
          description: >-
            Minor units: €395,000 is 39500000. A decimal point is refused,
            because it usually means whole euros or pounds were sent.
        currency:
          type: string
          enum:
            - EUR
            - GBP
          title: Currency
          description: EUR or GBP.
      type: object
      required:
        - amount
        - currency
      title: Money
      description: An amount in whole minor units (cents or pence).
    PortalIds:
      properties:
        daft:
          anyOf:
            - type: string
              maxLength: 64
              minLength: 1
            - type: 'null'
          title: Daft
          description: The listing's id on Daft.
        myhome:
          anyOf:
            - type: string
              maxLength: 64
              minLength: 1
            - type: 'null'
          title: Myhome
          description: The listing's id on MyHome.
      type: object
      title: PortalIds
      description: >-
        The property's ids on the portals, so Signal can match a portal enquiry
        to your listing.
    FieldError:
      properties:
        path:
          type: string
          title: Path
          description: >-
            Where the problem is, e.g. `contact.phone` or `house_types[0].name`.
            Empty for the request as a whole.
        code:
          type: string
          title: Code
          description: >-
            Stable code: required, empty, too_long, missing_offset, not_allowed,
            invalid_json or invalid.
        message:
          type: string
          title: Message
          description: What is wrong with this field, in plain English.
      type: object
      required:
        - path
        - code
        - message
      title: FieldError
      description: One problem with one field.
  securitySchemes:
    AgencyKey:
      type: http
      description: >-
        The agency's secret key, sent as `Authorization: Bearer <key>`. One key
        per agency.
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.