instaenv
DevelopersGet an API key

Developers

API reference

Generated from the OpenAPI 3.1 document the API serves. Download it to generate a client or import it into Postman or Insomnia.

OpenAPI 3.1.02026-11-07openapi.json
Base URL
https://api.instaenv.com/api/public/v1
Authentication
Authorization: Bearer ie_live_ followed by 40 letters and digits

Properties

Homes of your agency, with their tour, page, texts and photos.

List homes

get/properties

Homes of your organization, most recently updated first. Requires `properties:read`.

Scope: any

Query parameters

  • limitintegerItems per page.Default: 25Range: 1–100
  • cursorstring`next_cursor` of the previous page.
  • statusPropertyStatusOnly homes in this status.One of: "no_recording", "processing", "recording_problem", "generating", "ready", "published"
  • referencestringOnly the home with this reference (your own ID for it).
  • updated_sincestring (date-time)Only homes updated at or after this time (ISO-8601).
  • publishedbooleanOnly homes whose public page is (true) or is not (false) published.

Responses

  • 200 One page of homes.PropertyList
  • 401 Missing, invalid, revoked or expired API key.Error
  • 403 The key lacks the scope this endpoint needs.Error
  • 422 Invalid fields or query parameters. `details.fields` lists the messages per field.Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl "https://api.instaenv.com/api/public/v1/properties" \
  -H "Authorization: Bearer $INSTAENV_API_KEY"
{
  "data": [
    {
      "id": "123",
      "reference": "ABC123",
      "title": "Piso en Gràcia",
      "address": "Carrer de Verdi 12",
      "city": "Barcelona",
      "postal_code": "08012",
      "country": "ES",
      "operation": "sale",
      "price": 345000,
      "currency": "EUR",
      "bedrooms": 3,
      "bathrooms": 2,
      "area_m2": 92,
      "kit_enabled": true,
      "show_exact_location": false,
      "status": "published",
      "attention": [],
      "tour": {
        "ready": true,
        "share_url": "https://instaenv.com/s/k3j9x0aa2bq1",
        "embed_url": "https://instaenv.com/embed/k3j9x0aa2bq1",
        "embed_html": "<iframe src=\"https://instaenv.com/embed/k3j9x0aa2bq1\" width=\"100%\" height=\"560\" style=\"border:0\" allow=\"fullscreen; xr-spatial-tracking\" loading=\"lazy\"></iframe>"
      },
      "page": {
        "published": true,
        "url": "https://instaenv.com/en/p/piso-barcelona-x8k2m1qa",
        "published_at": "2026-11-07T18:00:00Z"
      },
      "texts": {
        "es": {
          "title": "Luminoso piso de 3 habitaciones en Gràcia",
          "description": "Piso exterior y reformado a dos minutos de la plaza del Sol.",
          "highlights": [
            "Exterior",
            "Reformado",
            "Ascensor"
          ]
        },
        "en": null,
        "ca": null,
        "de": null
      },
      "photos": [
        {
          "url": "https://files.instaenv.com/properties/123/photos/01.jpg?X-Amz-Signature=...",
          "width": 1600,
          "height": 1200,
          "sources": [
            {
              "type": "image/webp",
              "srcset": "https://files.instaenv.com/properties/123/photos/01-480.webp?X-Amz-Signature=... 480w, https://files.instaenv.com/properties/123/photos/01-960.webp?X-Amz-Signature=... 960w"
            }
          ]
        }
      ],
      "thumbnail": {
        "url": "https://files.instaenv.com/properties/123/photos/01.jpg?X-Amz-Signature=...",
        "width": 1600,
        "height": 1200,
        "sources": [
          {
            "type": "image/webp",
            "srcset": "https://files.instaenv.com/properties/123/photos/01-480.webp?X-Amz-Signature=... 480w, https://files.instaenv.com/properties/123/photos/01-960.webp?X-Amz-Signature=... 960w"
          }
        ]
      },
      "created_at": "2026-11-05T09:30:00Z",
      "updated_at": "2026-11-07T18:00:00Z"
    }
  ],
  "next_cursor": "string"
}

Create a home

post/properties

Creates a home of your organization. Its tour is made from its 360 photos, added in the Instaenv app. The home is in charge of your organization's owner unless `agent_email` names another member. Requires `properties:write`.

Scope: any

Headers

  • Idempotency-KeystringMakes retries safe for 24 hours. Same key and same request return the stored response; a different request is a 409.

Request body PropertyCreate

  • titlestringrequired
  • referencestring | nullYour own ID for the home. Must be unique in your organization.
  • addressstring | null
  • citystring | null
  • postal_codestring | null
  • countrystringISO 3166-1 alpha-2 code of the home's country.One of: "ES", "DE"Default: "ES"
  • operationstring | nullOne of: "sale", "rent", nullDefault: "sale"
  • priceinteger | nullRange: 0–100000000
  • bedroomsinteger | nullRange: 0–50
  • bathroomsinteger | nullRange: 0–50
  • area_m2number | nullRange: 1–100000
  • kit_enabledbooleanFalse creates a tour-only home ("solo visita"): it gets the tour without the sales kit or a page. Default: true
  • show_exact_locationbooleanShow the exact point on the public page's map instead of an area around the home.Default: false
  • agent_emailstring (email) | nullThe member of your organization in charge of the home. Defaults to the organization's owner.

Responses

  • 201 The new home.Property
  • 401 Missing, invalid, revoked or expired API key.Error
  • 403 The key lacks the scope this endpoint needs.Error
  • 409 `idempotency_conflict`: the Idempotency-Key was already used with a different request. `idempotency_in_progress`: the first request with this key is still running; retry shortly. Error
  • 422 Invalid fields or query parameters. `details.fields` lists the messages per field.Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl -X POST "https://api.instaenv.com/api/public/v1/properties" \
  -H "Authorization: Bearer $INSTAENV_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"title":"Piso en Gràcia","reference":"ABC123","address":"Carrer de Verdi 12","city":"Barcelona","postal_code":"08012","operation":"sale","price":345000,"bedrooms":3,"bathrooms":2,"area_m2":92}'
{
  "id": "123",
  "reference": "ABC123",
  "title": "Piso en Gràcia",
  "address": "Carrer de Verdi 12",
  "city": "Barcelona",
  "postal_code": "08012",
  "country": "ES",
  "operation": "sale",
  "price": 345000,
  "currency": "EUR",
  "bedrooms": 3,
  "bathrooms": 2,
  "area_m2": 92,
  "kit_enabled": true,
  "show_exact_location": false,
  "status": "published",
  "attention": [],
  "tour": {
    "ready": true,
    "share_url": "https://instaenv.com/s/k3j9x0aa2bq1",
    "embed_url": "https://instaenv.com/embed/k3j9x0aa2bq1",
    "embed_html": "<iframe src=\"https://instaenv.com/embed/k3j9x0aa2bq1\" width=\"100%\" height=\"560\" style=\"border:0\" allow=\"fullscreen; xr-spatial-tracking\" loading=\"lazy\"></iframe>"
  },
  "page": {
    "published": true,
    "url": "https://instaenv.com/en/p/piso-barcelona-x8k2m1qa",
    "published_at": "2026-11-07T18:00:00Z"
  },
  "texts": {
    "es": {
      "title": "Luminoso piso de 3 habitaciones en Gràcia",
      "description": "Piso exterior y reformado a dos minutos de la plaza del Sol.",
      "highlights": [
        "Exterior",
        "Reformado",
        "Ascensor"
      ]
    },
    "en": null,
    "ca": null,
    "de": null
  },
  "photos": [
    {
      "url": "https://files.instaenv.com/properties/123/photos/01.jpg?X-Amz-Signature=...",
      "width": 1600,
      "height": 1200,
      "sources": [
        {
          "type": "image/webp",
          "srcset": "https://files.instaenv.com/properties/123/photos/01-480.webp?X-Amz-Signature=... 480w, https://files.instaenv.com/properties/123/photos/01-960.webp?X-Amz-Signature=... 960w"
        }
      ]
    }
  ],
  "thumbnail": {
    "url": "https://files.instaenv.com/properties/123/photos/01.jpg?X-Amz-Signature=...",
    "width": 1600,
    "height": 1200,
    "sources": [
      {
        "type": "image/webp",
        "srcset": "https://files.instaenv.com/properties/123/photos/01-480.webp?X-Amz-Signature=... 480w, https://files.instaenv.com/properties/123/photos/01-960.webp?X-Amz-Signature=... 960w"
      }
    ]
  },
  "created_at": "2026-11-05T09:30:00Z",
  "updated_at": "2026-11-07T18:00:00Z"
}

Get a home

get/properties/{id}

Requires `properties:read`.

Scope: any

Path parameters

  • idstringrequiredThe home's ID.

Responses

  • 200 The home.Property
  • 401 Missing, invalid, revoked or expired API key.Error
  • 403 The key lacks the scope this endpoint needs.Error
  • 404 No home with this ID in your organization.Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl "https://api.instaenv.com/api/public/v1/properties/123" \
  -H "Authorization: Bearer $INSTAENV_API_KEY"
{
  "id": "123",
  "reference": "ABC123",
  "title": "Piso en Gràcia",
  "address": "Carrer de Verdi 12",
  "city": "Barcelona",
  "postal_code": "08012",
  "country": "ES",
  "operation": "sale",
  "price": 345000,
  "currency": "EUR",
  "bedrooms": 3,
  "bathrooms": 2,
  "area_m2": 92,
  "kit_enabled": true,
  "show_exact_location": false,
  "status": "published",
  "attention": [],
  "tour": {
    "ready": true,
    "share_url": "https://instaenv.com/s/k3j9x0aa2bq1",
    "embed_url": "https://instaenv.com/embed/k3j9x0aa2bq1",
    "embed_html": "<iframe src=\"https://instaenv.com/embed/k3j9x0aa2bq1\" width=\"100%\" height=\"560\" style=\"border:0\" allow=\"fullscreen; xr-spatial-tracking\" loading=\"lazy\"></iframe>"
  },
  "page": {
    "published": true,
    "url": "https://instaenv.com/en/p/piso-barcelona-x8k2m1qa",
    "published_at": "2026-11-07T18:00:00Z"
  },
  "texts": {
    "es": {
      "title": "Luminoso piso de 3 habitaciones en Gràcia",
      "description": "Piso exterior y reformado a dos minutos de la plaza del Sol.",
      "highlights": [
        "Exterior",
        "Reformado",
        "Ascensor"
      ]
    },
    "en": null,
    "ca": null,
    "de": null
  },
  "photos": [
    {
      "url": "https://files.instaenv.com/properties/123/photos/01.jpg?X-Amz-Signature=...",
      "width": 1600,
      "height": 1200,
      "sources": [
        {
          "type": "image/webp",
          "srcset": "https://files.instaenv.com/properties/123/photos/01-480.webp?X-Amz-Signature=... 480w, https://files.instaenv.com/properties/123/photos/01-960.webp?X-Amz-Signature=... 960w"
        }
      ]
    }
  ],
  "thumbnail": {
    "url": "https://files.instaenv.com/properties/123/photos/01.jpg?X-Amz-Signature=...",
    "width": 1600,
    "height": 1200,
    "sources": [
      {
        "type": "image/webp",
        "srcset": "https://files.instaenv.com/properties/123/photos/01-480.webp?X-Amz-Signature=... 480w, https://files.instaenv.com/properties/123/photos/01-960.webp?X-Amz-Signature=... 960w"
      }
    ]
  },
  "created_at": "2026-11-05T09:30:00Z",
  "updated_at": "2026-11-07T18:00:00Z"
}

Update a home

patch/properties/{id}

Partial update. Only the fields you send change; send `null` to clear an optional field. Requires `properties:write`. On the free plan, turning the kit on for a home that has a recording and no kit yet would generate it, so it is refused (`403 plan_no_ai`).

Scope: any

Path parameters

  • idstringrequiredThe home's ID.

Request body PropertyUpdate

  • titlestring
  • referencestring | null
  • addressstring | null
  • citystring | null
  • postal_codestring | null
  • countrystringISO 3166-1 alpha-2 code of the home's country.One of: "ES", "DE"
  • operationstring | nullOne of: "sale", "rent", null
  • priceinteger | nullRange: 0–100000000
  • bedroomsinteger | nullRange: 0–50
  • bathroomsinteger | nullRange: 0–50
  • area_m2number | nullRange: 1–100000
  • kit_enabledbooleanThe tour-only switch, with the app's rules. `false` is refused while the page is published (`422 unpublish_first`); the kit pieces the home has are kept, hidden. `true` shows them again; when the home has a recording but no kit yet, the kit is ordered from it.
  • show_exact_locationbooleanShow the exact point on the public page's map (true) or an area around the home (false).
  • agent_emailstring (email) | nullHand the home to another member; null gives it back to the organization's owner.

Responses

  • 200 The updated home.Property
  • 401 Missing, invalid, revoked or expired API key.Error
  • 403 The key lacks `properties:write` (`insufficient_scope`), or the organization's plan does not include the automatic kit (`plan_no_ai`).Error
  • 404 No home with this ID in your organization.Error
  • 422 Invalid fields (`validation_failed`), or the tour-only switch was refused: the page must be unpublished before a home becomes tour-only (`unpublish_first`). A refused request changes nothing. Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl -X PATCH "https://api.instaenv.com/api/public/v1/properties/123" \
  -H "Authorization: Bearer $INSTAENV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"price":329000}'
{
  "id": "123",
  "reference": "ABC123",
  "title": "Piso en Gràcia",
  "address": "Carrer de Verdi 12",
  "city": "Barcelona",
  "postal_code": "08012",
  "country": "ES",
  "operation": "sale",
  "price": 345000,
  "currency": "EUR",
  "bedrooms": 3,
  "bathrooms": 2,
  "area_m2": 92,
  "kit_enabled": true,
  "show_exact_location": false,
  "status": "published",
  "attention": [],
  "tour": {
    "ready": true,
    "share_url": "https://instaenv.com/s/k3j9x0aa2bq1",
    "embed_url": "https://instaenv.com/embed/k3j9x0aa2bq1",
    "embed_html": "<iframe src=\"https://instaenv.com/embed/k3j9x0aa2bq1\" width=\"100%\" height=\"560\" style=\"border:0\" allow=\"fullscreen; xr-spatial-tracking\" loading=\"lazy\"></iframe>"
  },
  "page": {
    "published": true,
    "url": "https://instaenv.com/en/p/piso-barcelona-x8k2m1qa",
    "published_at": "2026-11-07T18:00:00Z"
  },
  "texts": {
    "es": {
      "title": "Luminoso piso de 3 habitaciones en Gràcia",
      "description": "Piso exterior y reformado a dos minutos de la plaza del Sol.",
      "highlights": [
        "Exterior",
        "Reformado",
        "Ascensor"
      ]
    },
    "en": null,
    "ca": null,
    "de": null
  },
  "photos": [
    {
      "url": "https://files.instaenv.com/properties/123/photos/01.jpg?X-Amz-Signature=...",
      "width": 1600,
      "height": 1200,
      "sources": [
        {
          "type": "image/webp",
          "srcset": "https://files.instaenv.com/properties/123/photos/01-480.webp?X-Amz-Signature=... 480w, https://files.instaenv.com/properties/123/photos/01-960.webp?X-Amz-Signature=... 960w"
        }
      ]
    }
  ],
  "thumbnail": {
    "url": "https://files.instaenv.com/properties/123/photos/01.jpg?X-Amz-Signature=...",
    "width": 1600,
    "height": 1200,
    "sources": [
      {
        "type": "image/webp",
        "srcset": "https://files.instaenv.com/properties/123/photos/01-480.webp?X-Amz-Signature=... 480w, https://files.instaenv.com/properties/123/photos/01-960.webp?X-Amz-Signature=... 960w"
      }
    ]
  },
  "created_at": "2026-11-05T09:30:00Z",
  "updated_at": "2026-11-07T18:00:00Z"
}

Delete a home

del/properties/{id}

Deletes the home, its 360 photos, recordings, tour, kit and leads. Refused while a recording is being processed (`409 processing`). Requires `properties:write`.

Scope: any

Path parameters

  • idstringrequiredThe home's ID.

Responses

  • 204 Deleted.
  • 401 Missing, invalid, revoked or expired API key.Error
  • 403 The key lacks the scope this endpoint needs.Error
  • 404 No home with this ID in your organization.Error
  • 409 A recording of the home is being processed.Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl -X DELETE "https://api.instaenv.com/api/public/v1/properties/123" \
  -H "Authorization: Bearer $INSTAENV_API_KEY"
{
  "error": {
    "code": "unauthenticated",
    "message": "Missing, invalid, revoked or expired API key. Send it as \"Authorization: Bearer ie_live_...\"."
  }
}

Publish the public page

post/properties/{id}/publish

Puts the home's public page (and its QR code) live. Same rules as the app: the home needs its tour, at least one 360 photo (`422 tour_required`), except on the free plan, whose page can also go live with just the details, texts and photos written by hand; tour-only homes have no page (`422 kit_disabled`). The plan limits the homes published at the same time (`403 plan_published_limit`). Publishing a published home is a no-op. Requires `properties:write`.

Scope: any

Path parameters

  • idstringrequiredThe home's ID.

Headers

  • Idempotency-KeystringMakes retries safe for 24 hours. Same key and same request return the stored response; a different request is a 409.

Responses

  • 200 The home, published.Property
  • 401 Missing, invalid, revoked or expired API key.Error
  • 403 The key lacks `properties:write` (`insufficient_scope`), or the organization already has as many homes published as its plan allows (`plan_published_limit`): unpublish one or change plans. Error
  • 404 No home with this ID in your organization.Error
  • 409 `idempotency_conflict`: the Idempotency-Key was already used with a different request. `idempotency_in_progress`: the first request with this key is still running; retry shortly. Error
  • 422 The home cannot be published.Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl -X POST "https://api.instaenv.com/api/public/v1/properties/123/publish" \
  -H "Authorization: Bearer $INSTAENV_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"
{
  "id": "123",
  "reference": "ABC123",
  "title": "Piso en Gràcia",
  "address": "Carrer de Verdi 12",
  "city": "Barcelona",
  "postal_code": "08012",
  "country": "ES",
  "operation": "sale",
  "price": 345000,
  "currency": "EUR",
  "bedrooms": 3,
  "bathrooms": 2,
  "area_m2": 92,
  "kit_enabled": true,
  "show_exact_location": false,
  "status": "published",
  "attention": [],
  "tour": {
    "ready": true,
    "share_url": "https://instaenv.com/s/k3j9x0aa2bq1",
    "embed_url": "https://instaenv.com/embed/k3j9x0aa2bq1",
    "embed_html": "<iframe src=\"https://instaenv.com/embed/k3j9x0aa2bq1\" width=\"100%\" height=\"560\" style=\"border:0\" allow=\"fullscreen; xr-spatial-tracking\" loading=\"lazy\"></iframe>"
  },
  "page": {
    "published": true,
    "url": "https://instaenv.com/en/p/piso-barcelona-x8k2m1qa",
    "published_at": "2026-11-07T18:00:00Z"
  },
  "texts": {
    "es": {
      "title": "Luminoso piso de 3 habitaciones en Gràcia",
      "description": "Piso exterior y reformado a dos minutos de la plaza del Sol.",
      "highlights": [
        "Exterior",
        "Reformado",
        "Ascensor"
      ]
    },
    "en": null,
    "ca": null,
    "de": null
  },
  "photos": [
    {
      "url": "https://files.instaenv.com/properties/123/photos/01.jpg?X-Amz-Signature=...",
      "width": 1600,
      "height": 1200,
      "sources": [
        {
          "type": "image/webp",
          "srcset": "https://files.instaenv.com/properties/123/photos/01-480.webp?X-Amz-Signature=... 480w, https://files.instaenv.com/properties/123/photos/01-960.webp?X-Amz-Signature=... 960w"
        }
      ]
    }
  ],
  "thumbnail": {
    "url": "https://files.instaenv.com/properties/123/photos/01.jpg?X-Amz-Signature=...",
    "width": 1600,
    "height": 1200,
    "sources": [
      {
        "type": "image/webp",
        "srcset": "https://files.instaenv.com/properties/123/photos/01-480.webp?X-Amz-Signature=... 480w, https://files.instaenv.com/properties/123/photos/01-960.webp?X-Amz-Signature=... 960w"
      }
    ]
  },
  "created_at": "2026-11-05T09:30:00Z",
  "updated_at": "2026-11-07T18:00:00Z"
}

Unpublish the public page

post/properties/{id}/unpublish

The page and its QR code answer "no longer available" until the home is published again. Requires `properties:write`.

Scope: any

Path parameters

  • idstringrequiredThe home's ID.

Headers

  • Idempotency-KeystringMakes retries safe for 24 hours. Same key and same request return the stored response; a different request is a 409.

Responses

  • 200 The home, unpublished.Property
  • 401 Missing, invalid, revoked or expired API key.Error
  • 403 The key lacks the scope this endpoint needs.Error
  • 404 No home with this ID in your organization.Error
  • 409 `idempotency_conflict`: the Idempotency-Key was already used with a different request. `idempotency_in_progress`: the first request with this key is still running; retry shortly. Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl -X POST "https://api.instaenv.com/api/public/v1/properties/123/unpublish" \
  -H "Authorization: Bearer $INSTAENV_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"
{
  "id": "123",
  "reference": "ABC123",
  "title": "Piso en Gràcia",
  "address": "Carrer de Verdi 12",
  "city": "Barcelona",
  "postal_code": "08012",
  "country": "ES",
  "operation": "sale",
  "price": 345000,
  "currency": "EUR",
  "bedrooms": 3,
  "bathrooms": 2,
  "area_m2": 92,
  "kit_enabled": true,
  "show_exact_location": false,
  "status": "published",
  "attention": [],
  "tour": {
    "ready": true,
    "share_url": "https://instaenv.com/s/k3j9x0aa2bq1",
    "embed_url": "https://instaenv.com/embed/k3j9x0aa2bq1",
    "embed_html": "<iframe src=\"https://instaenv.com/embed/k3j9x0aa2bq1\" width=\"100%\" height=\"560\" style=\"border:0\" allow=\"fullscreen; xr-spatial-tracking\" loading=\"lazy\"></iframe>"
  },
  "page": {
    "published": true,
    "url": "https://instaenv.com/en/p/piso-barcelona-x8k2m1qa",
    "published_at": "2026-11-07T18:00:00Z"
  },
  "texts": {
    "es": {
      "title": "Luminoso piso de 3 habitaciones en Gràcia",
      "description": "Piso exterior y reformado a dos minutos de la plaza del Sol.",
      "highlights": [
        "Exterior",
        "Reformado",
        "Ascensor"
      ]
    },
    "en": null,
    "ca": null,
    "de": null
  },
  "photos": [
    {
      "url": "https://files.instaenv.com/properties/123/photos/01.jpg?X-Amz-Signature=...",
      "width": 1600,
      "height": 1200,
      "sources": [
        {
          "type": "image/webp",
          "srcset": "https://files.instaenv.com/properties/123/photos/01-480.webp?X-Amz-Signature=... 480w, https://files.instaenv.com/properties/123/photos/01-960.webp?X-Amz-Signature=... 960w"
        }
      ]
    }
  ],
  "thumbnail": {
    "url": "https://files.instaenv.com/properties/123/photos/01.jpg?X-Amz-Signature=...",
    "width": 1600,
    "height": 1200,
    "sources": [
      {
        "type": "image/webp",
        "srcset": "https://files.instaenv.com/properties/123/photos/01-480.webp?X-Amz-Signature=... 480w, https://files.instaenv.com/properties/123/photos/01-960.webp?X-Amz-Signature=... 960w"
      }
    ]
  },
  "created_at": "2026-11-05T09:30:00Z",
  "updated_at": "2026-11-07T18:00:00Z"
}

Leads

Buyers and tenants who wrote from the public pages.

List a home's leads

get/properties/{id}/leads

Leads of one home, newest first. Requires `leads:read`.

Scope: any

Path parameters

  • idstringrequiredThe home's ID.

Query parameters

  • limitintegerItems per page.Default: 25Range: 1–100
  • cursorstring`next_cursor` of the previous page.

Responses

  • 200 One page of leads.LeadList
  • 401 Missing, invalid, revoked or expired API key.Error
  • 403 The key lacks the scope this endpoint needs.Error
  • 404 No home with this ID in your organization.Error
  • 422 Invalid fields or query parameters. `details.fields` lists the messages per field.Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl "https://api.instaenv.com/api/public/v1/properties/123/leads" \
  -H "Authorization: Bearer $INSTAENV_API_KEY"
{
  "data": [
    {
      "id": "42",
      "property_id": "123",
      "name": "Marta Puig",
      "email": "[email protected]",
      "phone": "+34 600 000 000",
      "message": "Is it still available? I would like to visit it this week.",
      "created_at": "2026-11-07T18:00:00Z"
    }
  ],
  "next_cursor": "string"
}

List leads

get/leads

Leads of every home of your organization, newest first. Requires `leads:read`.

Scope: any

Query parameters

  • limitintegerItems per page.Default: 25Range: 1–100
  • cursorstring`next_cursor` of the previous page.
  • sincestring (date-time)Only leads received at or after this time (ISO-8601).
  • property_idstringOnly leads of this home.

Responses

  • 200 One page of leads.LeadList
  • 401 Missing, invalid, revoked or expired API key.Error
  • 403 The key lacks the scope this endpoint needs.Error
  • 422 Invalid fields or query parameters. `details.fields` lists the messages per field.Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl "https://api.instaenv.com/api/public/v1/leads" \
  -H "Authorization: Bearer $INSTAENV_API_KEY"
{
  "data": [
    {
      "id": "42",
      "property_id": "123",
      "name": "Marta Puig",
      "email": "[email protected]",
      "phone": "+34 600 000 000",
      "message": "Is it still available? I would like to visit it this week.",
      "created_at": "2026-11-07T18:00:00Z"
    }
  ],
  "next_cursor": "string"
}

Organization

Your organization and discovery endpoints.

Get your organization

get/organization

Name and plan, with the plan's limits and what the organization uses of them. Any scope.

Scope: any

Responses

  • 200 Your organization.Organization
  • 401 Missing, invalid, revoked or expired API key.Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl "https://api.instaenv.com/api/public/v1/organization" \
  -H "Authorization: Bearer $INSTAENV_API_KEY"
{
  "id": "1",
  "name": "Finques Gràcia",
  "plan": {
    "key": "pro",
    "published_limit": 50,
    "user_limit": 10,
    "published": 12,
    "users": 3
  }
}

List webhook event types

get/webhook-events

The event types webhooks can subscribe to, with the read scope an API key needs to subscribe to each one and to see its deliveries. Static; handy for discovery. Any scope.

Scope: any

Responses

  • 200 Event types.
  • 401 Missing, invalid, revoked or expired API key.Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl "https://api.instaenv.com/api/public/v1/webhook-events" \
  -H "Authorization: Bearer $INSTAENV_API_KEY"
{
  "data": [
    {
      "type": "property.created",
      "description": "A home was created (in the app, through the API or by the pipeline).",
      "scope": "properties:read"
    },
    {
      "type": "lead.created",
      "description": "A buyer or tenant wrote from the public page of a home.",
      "scope": "leads:read"
    }
  ]
}

This document

get/openapi.json

The OpenAPI 3.1 description of this API. No API key needed.

Scope: any

Responses

  • 200 OpenAPI document.
  • 429 More than 120 requests in a minute with this key.Error
Request
curl "https://api.instaenv.com/api/public/v1/openapi.json" \
  -H "Authorization: Bearer $INSTAENV_API_KEY"
{}

Webhooks

Endpoints that receive your organization's events, and their delivery log (scope `webhooks:manage`, plus `leads:read` for `lead.created` and `properties:read` for every other event).

List webhook endpoints

get/webhooks

Your organization's endpoints, newest first. Requires `webhooks:manage`.

Scope: any

Responses

  • 200 The endpoints (without their secrets).
  • 401 Missing, invalid, revoked or expired API key.Error
  • 403 The key lacks the scope this endpoint needs.Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl "https://api.instaenv.com/api/public/v1/webhooks" \
  -H "Authorization: Bearer $INSTAENV_API_KEY"
{
  "data": [
    {
      "id": "01JC3Z7T8W2Q4N5M6P7R8S9T0V",
      "url": "https://crm.example.com/hooks/instaenv",
      "description": "string",
      "events": [
        "tour.ready",
        "lead.created"
      ],
      "enabled": true,
      "failure_count": 0,
      "disabled_at": "2026-11-07T18:00:00Z",
      "disabled_reason": "failing",
      "created_at": "2026-11-07T18:00:00Z",
      "updated_at": "2026-11-07T18:00:00Z"
    }
  ]
}

Create a webhook endpoint

post/webhooks

Up to 10 endpoints per organization. The URL must use HTTPS and reach a public address (private, loopback, link-local and cloud metadata addresses are refused, when saving and again on every delivery). The response carries the signing `secret` (`whsec_...`) this once: store it. Requires `webhooks:manage`, and the read scope of every event subscribed to (`leads:read` for `lead.created`, `properties:read` for the others; `*` needs both), else `403 insufficient_scope` naming the missing one.

Scope: any

Request body WebhookEndpointCreate

  • urlstring (uri)requiredHTTPS, on a public address, without user name or password.
  • eventsarray of stringrequired
  • descriptionstring | null
  • enabledbooleanDefault: true

Responses

  • 201 The endpoint, with its secret (shown once).
  • 401 Missing, invalid, revoked or expired API key.Error
  • 403 The key lacks the scope this endpoint needs.Error
  • 422 Invalid fields or query parameters. `details.fields` lists the messages per field.Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl -X POST "https://api.instaenv.com/api/public/v1/webhooks" \
  -H "Authorization: Bearer $INSTAENV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://crm.example.com/hooks/instaenv","events":["tour.ready","lead.created"],"description":"CRM sync"}'
{
  "data": {
    "secret": "whsec_3fJ8kQ2mN7pR1sT5vX9zB4cD6gH0jL2n",
    "id": "01JC3Z7T8W2Q4N5M6P7R8S9T0V",
    "url": "https://crm.example.com/hooks/instaenv",
    "description": "string",
    "events": [
      "tour.ready",
      "lead.created"
    ],
    "enabled": true,
    "failure_count": 0,
    "disabled_at": "2026-11-07T18:00:00Z",
    "disabled_reason": "failing",
    "created_at": "2026-11-07T18:00:00Z",
    "updated_at": "2026-11-07T18:00:00Z"
  }
}

Get a webhook endpoint

get/webhooks/{endpoint}

Requires `webhooks:manage`.

Scope: any

Path parameters

  • endpointstringrequiredThe webhook endpoint's ID.

Responses

  • 200 The endpoint (without its secret).
  • 401 Missing, invalid, revoked or expired API key.Error
  • 403 The key lacks the scope this endpoint needs.Error
  • 404 No home with this ID in your organization.Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl "https://api.instaenv.com/api/public/v1/webhooks/01JC3Z7T8W2Q4N5M6P7R8S9T0V" \
  -H "Authorization: Bearer $INSTAENV_API_KEY"
{
  "data": {
    "id": "01JC3Z7T8W2Q4N5M6P7R8S9T0V",
    "url": "https://crm.example.com/hooks/instaenv",
    "description": "string",
    "events": [
      "tour.ready",
      "lead.created"
    ],
    "enabled": true,
    "failure_count": 0,
    "disabled_at": "2026-11-07T18:00:00Z",
    "disabled_reason": "failing",
    "created_at": "2026-11-07T18:00:00Z",
    "updated_at": "2026-11-07T18:00:00Z"
  }
}

Update a webhook endpoint

patch/webhooks/{endpoint}

Partial update. `enabled: true` turns an endpoint back on and clears its failure streak (also after it was switched off automatically); `enabled: false` stops new events and pending retries. Requires `webhooks:manage`, and the read scope of every event the endpoint receives after the change, whatever field changes (`403 insufficient_scope` otherwise).

Scope: any

Path parameters

  • endpointstringrequiredThe webhook endpoint's ID.

Request body WebhookEndpointUpdate

  • urlstring (uri)
  • eventsarray of string
  • descriptionstring | null
  • enabledboolean

Responses

  • 200 The updated endpoint.
  • 401 Missing, invalid, revoked or expired API key.Error
  • 403 The key lacks the scope this endpoint needs.Error
  • 404 No home with this ID in your organization.Error
  • 422 Invalid fields or query parameters. `details.fields` lists the messages per field.Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl -X PATCH "https://api.instaenv.com/api/public/v1/webhooks/01JC3Z7T8W2Q4N5M6P7R8S9T0V" \
  -H "Authorization: Bearer $INSTAENV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"enabled":true}'
{
  "data": {
    "id": "01JC3Z7T8W2Q4N5M6P7R8S9T0V",
    "url": "https://crm.example.com/hooks/instaenv",
    "description": "string",
    "events": [
      "tour.ready",
      "lead.created"
    ],
    "enabled": true,
    "failure_count": 0,
    "disabled_at": "2026-11-07T18:00:00Z",
    "disabled_reason": "failing",
    "created_at": "2026-11-07T18:00:00Z",
    "updated_at": "2026-11-07T18:00:00Z"
  }
}

Delete a webhook endpoint

del/webhooks/{endpoint}

The endpoint and its delivery log are deleted; nothing more is sent to it. Requires `webhooks:manage`.

Scope: any

Path parameters

  • endpointstringrequiredThe webhook endpoint's ID.

Responses

  • 204 Deleted.
  • 401 Missing, invalid, revoked or expired API key.Error
  • 403 The key lacks the scope this endpoint needs.Error
  • 404 No home with this ID in your organization.Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl -X DELETE "https://api.instaenv.com/api/public/v1/webhooks/01JC3Z7T8W2Q4N5M6P7R8S9T0V" \
  -H "Authorization: Bearer $INSTAENV_API_KEY"
{
  "error": {
    "code": "unauthenticated",
    "message": "Missing, invalid, revoked or expired API key. Send it as \"Authorization: Bearer ie_live_...\"."
  }
}

Rotate the signing secret

post/webhooks/{endpoint}/rotate-secret

A new secret, returned this once. The old one stops working immediately. Requires `webhooks:manage`.

Scope: any

Path parameters

  • endpointstringrequiredThe webhook endpoint's ID.

Responses

  • 200 The endpoint, with its new secret.
  • 401 Missing, invalid, revoked or expired API key.Error
  • 403 The key lacks the scope this endpoint needs.Error
  • 404 No home with this ID in your organization.Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl -X POST "https://api.instaenv.com/api/public/v1/webhooks/01JC3Z7T8W2Q4N5M6P7R8S9T0V/rotate-secret" \
  -H "Authorization: Bearer $INSTAENV_API_KEY"
{
  "data": {
    "secret": "whsec_3fJ8kQ2mN7pR1sT5vX9zB4cD6gH0jL2n",
    "id": "01JC3Z7T8W2Q4N5M6P7R8S9T0V",
    "url": "https://crm.example.com/hooks/instaenv",
    "description": "string",
    "events": [
      "tour.ready",
      "lead.created"
    ],
    "enabled": true,
    "failure_count": 0,
    "disabled_at": "2026-11-07T18:00:00Z",
    "disabled_reason": "failing",
    "created_at": "2026-11-07T18:00:00Z",
    "updated_at": "2026-11-07T18:00:00Z"
  }
}

Send a test event

post/webhooks/{endpoint}/test

Sends a `ping` event to this endpoint, even while it is disabled: `{"type": "ping", "data": {"object": {"endpoint_id": "...", "message": "Test event from Instaenv."}}}`, signed like every event. `ping` cannot be subscribed to. 10 per minute. Requires `webhooks:manage`.

Scope: any

Path parameters

  • endpointstringrequiredThe webhook endpoint's ID.

Responses

  • 202 The delivery of the test event (usually already attempted).
  • 401 Missing, invalid, revoked or expired API key.Error
  • 403 The key lacks the scope this endpoint needs.Error
  • 404 No home with this ID in your organization.Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl -X POST "https://api.instaenv.com/api/public/v1/webhooks/01JC3Z7T8W2Q4N5M6P7R8S9T0V/test" \
  -H "Authorization: Bearer $INSTAENV_API_KEY"
{
  "data": {
    "id": "string",
    "endpoint_id": "string",
    "event_id": "evt_01JC3Z7T8W2Q4N5M6P7R8S9T0V",
    "event_type": "string",
    "status": "pending",
    "attempt": 0,
    "response_status": 0,
    "response_body_excerpt": "string",
    "duration_ms": 0,
    "error": "string",
    "next_retry_at": "2026-11-07T18:00:00Z",
    "payload": {
      "id": "evt_01JC3Z7T8W2Q4N5M6P7R8S9T0V",
      "type": "property.created",
      "created_at": "2026-11-07T18:00:00Z",
      "api_version": "string",
      "organization_id": "1",
      "data": {
        "object": {}
      }
    },
    "created_at": "2026-11-07T18:00:00Z",
    "updated_at": "2026-11-07T18:00:00Z"
  }
}

List an endpoint's deliveries

get/webhooks/{endpoint}/deliveries

Newest first, kept for 30 days. Requires `webhooks:manage`. Only the deliveries of events the key can read are listed (`ping`, `lead.created` with `leads:read`, the others with `properties:read`); filtering by an event type it cannot read is `403 insufficient_scope`.

Scope: any

Path parameters

  • endpointstringrequiredThe webhook endpoint's ID.

Query parameters

  • limitintegerItems per page.Default: 25Range: 1–100
  • cursorstring`next_cursor` of the previous page.
  • statusstringOne of: "pending", "succeeded", "failed"
  • event_typestringAn event type, or `ping`.

Responses

  • 200 A page of deliveries.
  • 401 Missing, invalid, revoked or expired API key.Error
  • 403 The key lacks the scope this endpoint needs.Error
  • 404 No home with this ID in your organization.Error
  • 422 Invalid fields or query parameters. `details.fields` lists the messages per field.Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl "https://api.instaenv.com/api/public/v1/webhooks/01JC3Z7T8W2Q4N5M6P7R8S9T0V/deliveries" \
  -H "Authorization: Bearer $INSTAENV_API_KEY"
{
  "data": [
    {
      "id": "string",
      "endpoint_id": "string",
      "event_id": "evt_01JC3Z7T8W2Q4N5M6P7R8S9T0V",
      "event_type": "string",
      "status": "pending",
      "attempt": 0,
      "response_status": 0,
      "response_body_excerpt": "string",
      "duration_ms": 0,
      "error": "string",
      "next_retry_at": "2026-11-07T18:00:00Z",
      "payload": {
        "id": "evt_01JC3Z7T8W2Q4N5M6P7R8S9T0V",
        "type": "property.created",
        "created_at": "2026-11-07T18:00:00Z",
        "api_version": "string",
        "organization_id": "1",
        "data": {
          "object": {}
        }
      },
      "created_at": "2026-11-07T18:00:00Z",
      "updated_at": "2026-11-07T18:00:00Z"
    }
  ],
  "next_cursor": "string"
}

Send a delivery again

post/webhook-deliveries/{delivery}/replay

Sends the same event (same event id and payload) again, as a new delivery. Receivers that deduplicate by event id will ignore it if they already processed it. 30 per minute. Requires `webhooks:manage`. A delivery of an event the key cannot read is `404`, as it is not in its delivery log.

Scope: any

Path parameters

  • deliverystringrequiredA delivery ID from the delivery log.

Responses

  • 202 The new delivery.
  • 401 Missing, invalid, revoked or expired API key.Error
  • 403 The key lacks the scope this endpoint needs.Error
  • 404 No home with this ID in your organization.Error
  • 429 More than 120 requests in a minute with this key.Error
Request
curl -X POST "https://api.instaenv.com/api/public/v1/webhook-deliveries/delivery/replay" \
  -H "Authorization: Bearer $INSTAENV_API_KEY"
{
  "data": {
    "id": "string",
    "endpoint_id": "string",
    "event_id": "evt_01JC3Z7T8W2Q4N5M6P7R8S9T0V",
    "event_type": "string",
    "status": "pending",
    "attempt": 0,
    "response_status": 0,
    "response_body_excerpt": "string",
    "duration_ms": 0,
    "error": "string",
    "next_retry_at": "2026-11-07T18:00:00Z",
    "payload": {
      "id": "evt_01JC3Z7T8W2Q4N5M6P7R8S9T0V",
      "type": "property.created",
      "created_at": "2026-11-07T18:00:00Z",
      "api_version": "string",
      "organization_id": "1",
      "data": {
        "object": {}
      }
    },
    "created_at": "2026-11-07T18:00:00Z",
    "updated_at": "2026-11-07T18:00:00Z"
  }
}

Webhook events

POST requests Instaenv sends to your endpoints, signed with Instaenv-Signature.

property.createdA home was created
  • dataobjectrequired
    • objectobjectrequired
  • idstringrequired
  • typeEventTyperequiredOne of: "property.created", "property.updated", "property.deleted", "recording.uploaded", "recording.failed", "tour.ready", "kit.ready", "property.published", "property.unpublished", "lead.created"
  • created_atstring (date-time)required
  • api_versionstringrequired
  • organization_idstringrequired
Payload
{
  "data": {
    "object": {}
  },
  "id": "evt_01JC3Z7T8W2Q4N5M6P7R8S9T0V",
  "type": "property.created",
  "created_at": "2026-11-07T18:00:00Z",
  "api_version": "string",
  "organization_id": "1"
}
property.updatedA home changed
  • dataobjectrequired
    • objectobjectrequired
  • idstringrequired
  • typeEventTyperequiredOne of: "property.created", "property.updated", "property.deleted", "recording.uploaded", "recording.failed", "tour.ready", "kit.ready", "property.published", "property.unpublished", "lead.created"
  • created_atstring (date-time)required
  • api_versionstringrequired
  • organization_idstringrequired
Payload
{
  "data": {
    "object": {}
  },
  "id": "evt_01JC3Z7T8W2Q4N5M6P7R8S9T0V",
  "type": "property.updated",
  "created_at": "2026-11-07T18:00:00Z",
  "api_version": "string",
  "organization_id": "1"
}
property.deletedA home was deleted
  • typeEventTyperequiredOne of: "property.created", "property.updated", "property.deleted", "recording.uploaded", "recording.failed", "tour.ready", "kit.ready", "property.published", "property.unpublished", "lead.created"
  • dataobjectrequired
    • objectobjectrequired
  • idstringrequired
  • created_atstring (date-time)required
  • api_versionstringrequired
  • organization_idstringrequired
Payload
{
  "type": "property.deleted",
  "data": {
    "object": {}
  },
  "id": "evt_01JC3Z7T8W2Q4N5M6P7R8S9T0V",
  "created_at": "2026-11-07T18:00:00Z",
  "api_version": "string",
  "organization_id": "1"
}
recording.uploadedA recording was uploaded
  • dataobjectrequired
    • objectobjectrequired
  • idstringrequired
  • typeEventTyperequiredOne of: "property.created", "property.updated", "property.deleted", "recording.uploaded", "recording.failed", "tour.ready", "kit.ready", "property.published", "property.unpublished", "lead.created"
  • created_atstring (date-time)required
  • api_versionstringrequired
  • organization_idstringrequired
Payload
{
  "data": {
    "object": {}
  },
  "id": "evt_01JC3Z7T8W2Q4N5M6P7R8S9T0V",
  "type": "recording.uploaded",
  "created_at": "2026-11-07T18:00:00Z",
  "api_version": "string",
  "organization_id": "1"
}
recording.failedA recording failed
  • typeEventTyperequiredOne of: "property.created", "property.updated", "property.deleted", "recording.uploaded", "recording.failed", "tour.ready", "kit.ready", "property.published", "property.unpublished", "lead.created"
  • dataobjectrequired
    • objectobjectrequired
  • idstringrequired
  • created_atstring (date-time)required
  • api_versionstringrequired
  • organization_idstringrequired
Payload
{
  "type": "recording.failed",
  "data": {
    "object": {}
  },
  "id": "evt_01JC3Z7T8W2Q4N5M6P7R8S9T0V",
  "created_at": "2026-11-07T18:00:00Z",
  "api_version": "string",
  "organization_id": "1"
}
tour.readyThe tour is ready
  • dataobjectrequired
    • objectobjectrequired
  • idstringrequired
  • typeEventTyperequiredOne of: "property.created", "property.updated", "property.deleted", "recording.uploaded", "recording.failed", "tour.ready", "kit.ready", "property.published", "property.unpublished", "lead.created"
  • created_atstring (date-time)required
  • api_versionstringrequired
  • organization_idstringrequired
Payload
{
  "data": {
    "object": {}
  },
  "id": "evt_01JC3Z7T8W2Q4N5M6P7R8S9T0V",
  "type": "tour.ready",
  "created_at": "2026-11-07T18:00:00Z",
  "api_version": "string",
  "organization_id": "1"
}
kit.readyThe kit settled
  • dataobjectrequired
    • objectobjectrequired
  • idstringrequired
  • typeEventTyperequiredOne of: "property.created", "property.updated", "property.deleted", "recording.uploaded", "recording.failed", "tour.ready", "kit.ready", "property.published", "property.unpublished", "lead.created"
  • created_atstring (date-time)required
  • api_versionstringrequired
  • organization_idstringrequired
Payload
{
  "data": {
    "object": {}
  },
  "id": "evt_01JC3Z7T8W2Q4N5M6P7R8S9T0V",
  "type": "kit.ready",
  "created_at": "2026-11-07T18:00:00Z",
  "api_version": "string",
  "organization_id": "1"
}
property.publishedThe page was published
  • dataobjectrequired
    • objectobjectrequired
  • idstringrequired
  • typeEventTyperequiredOne of: "property.created", "property.updated", "property.deleted", "recording.uploaded", "recording.failed", "tour.ready", "kit.ready", "property.published", "property.unpublished", "lead.created"
  • created_atstring (date-time)required
  • api_versionstringrequired
  • organization_idstringrequired
Payload
{
  "data": {
    "object": {}
  },
  "id": "evt_01JC3Z7T8W2Q4N5M6P7R8S9T0V",
  "type": "property.published",
  "created_at": "2026-11-07T18:00:00Z",
  "api_version": "string",
  "organization_id": "1"
}
property.unpublishedThe page was unpublished
  • dataobjectrequired
    • objectobjectrequired
  • idstringrequired
  • typeEventTyperequiredOne of: "property.created", "property.updated", "property.deleted", "recording.uploaded", "recording.failed", "tour.ready", "kit.ready", "property.published", "property.unpublished", "lead.created"
  • created_atstring (date-time)required
  • api_versionstringrequired
  • organization_idstringrequired
Payload
{
  "data": {
    "object": {}
  },
  "id": "evt_01JC3Z7T8W2Q4N5M6P7R8S9T0V",
  "type": "property.unpublished",
  "created_at": "2026-11-07T18:00:00Z",
  "api_version": "string",
  "organization_id": "1"
}
lead.createdA lead arrived
  • typeEventTyperequiredOne of: "property.created", "property.updated", "property.deleted", "recording.uploaded", "recording.failed", "tour.ready", "kit.ready", "property.published", "property.unpublished", "lead.created"
  • dataobjectrequired
    • objectobjectrequired
  • idstringrequired
  • created_atstring (date-time)required
  • api_versionstringrequired
  • organization_idstringrequired
Payload
{
  "type": "lead.created",
  "data": {
    "object": {}
  },
  "id": "evt_01JC3Z7T8W2Q4N5M6P7R8S9T0V",
  "created_at": "2026-11-07T18:00:00Z",
  "api_version": "string",
  "organization_id": "1"
}

Schemas

Errorobject
  • errorobjectrequired
    • codestringrequiredMachine-readable. One of `unauthenticated`, `insufficient_scope`, `forbidden`, `not_found`, `method_not_allowed`, `bad_request`, `validation_failed`, `invalid_idempotency_key`, `idempotency_conflict`, `idempotency_in_progress`, `processing`, `tour_required`, `kit_disabled`, `unpublish_first`, `plan_no_ai`, `plan_published_limit`, `plan_user_limit`, `rate_limited`, `internal_error`. `plan_published_limit`: the organization already has as many homes published as its plan allows (unpublish one or change plans). `plan_user_limit`: its team (members plus pending invitations) has as many people as its plan allows.
    • messagestringrequiredHuman-readable, English unless Accept-Language asks for es, ca or de.
    • requiredstringThe missing scope (insufficient_scope only).
    • detailsobjectMore about the error. Validation errors have `fields` (field name to messages).
PropertyStatusstring

Where the home stands, as the app shows it: `no_recording` (no tour yet: no 360 photos nor recording), `processing` (a recording is being turned into a tour), `recording_problem` (no tour and the latest recording was rejected or failed), `generating` (the tour exists and kit pieces are still being made), `ready` (tour and kit settled, page not published; a home with 360 photos is ready), `published` (the public page is live). The names are kept for compatibility.

Where the home stands, as the app shows it: `no_recording` (no tour yet: no 360 photos nor recording), `processing` (a recording is being turned into a tour), `recording_problem` (no tour and the latest recording was rejected or failed), `generating` (the tour exists and kit pieces are still being made), `ready` (tour and kit settled, page not published; a home with 360 photos is ready), `published` (the public page is live). The names are kept for compatibility.

One of: "no_recording", "processing", "recording_problem", "generating", "ready", "published"

Propertyobject
  • idstringrequired
  • referencestring | nullrequiredYour own ID for the home, unique in your organization.
  • titlestringrequiredThe home's internal name in the app.
  • addressstring | nullrequired
  • citystring | nullrequired
  • postal_codestring | nullrequired
  • countrystringrequiredISO 3166-1 alpha-2 code of the home's country. It decides which documents the home needs and where its address is looked up on the map.One of: "ES", "DE"
  • operationstring | nullrequiredOne of: "sale", "rent", null
  • priceinteger | nullrequiredWhole euros.
  • currencystringrequired
  • bedroomsinteger | nullrequired
  • bathroomsinteger | nullrequired
  • area_m2number | nullrequired
  • kit_enabledbooleanrequiredFalse for tour-only homes ("solo visita"): they get the tour without the sales kit or a page, and their `texts` and `photos` are hidden (null and empty) while the kit is off.
  • show_exact_locationbooleanrequiredHow the public page's map places the home: the exact point (true), or an area of about 300 m around it whose centre is not the home (false, the default). The address itself is never public.
  • statusPropertyStatusrequiredWhere the home stands, as the app shows it: `no_recording` (no tour yet: no 360 photos nor recording), `processing` (a recording is being turned into a tour), `recording_problem` (no tour and the latest recording was rejected or failed), `generating` (the tour exists and kit pieces are still being made), `ready` (tour and kit settled, page not published; a home with 360 photos is ready), `published` (the public page is live). The names are kept for compatibility. One of: "no_recording", "processing", "recording_problem", "generating", "ready", "published"
  • attentionarray of stringrequiredWhat needs the agency: `needs_recording`, `recording_rejected`, `recording_failed`, `kit_missing`, `missing_details`, `pieces_failed`, `ready_to_publish`, `tour_hidden`. New values may be added.
  • tourobject | nullrequiredThe home's 3D tour (homes recorded before tours were made from 360 photos), null without one. A private tour has no links.
    • readybooleanrequired
    • share_urlstring (uri) | nullrequired
    • embed_urlstring (uri) | nullrequired
    • embed_htmlstring | nullrequiredThe iframe to paste in other websites; null when the organization does not allow embedding.
  • pageobjectrequired
    • publishedbooleanrequired
    • urlstring (uri) | nullrequiredThe public page, while it is published.
    • published_atstring (date-time) | nullrequired
  • textsobject | nullrequiredListing texts per language (es, en, ca, de), null until written. A language not written yet is null.
    • esListingText
      • titlestringrequired
      • descriptionstring | nullrequired
      • highlightsarray of stringrequired
    • enListingText
      • titlestringrequired
      • descriptionstring | nullrequired
      • highlightsarray of stringrequired
    • caListingText
      • titlestringrequired
      • descriptionstring | nullrequired
      • highlightsarray of stringrequired
    • deListingText
      • titlestringrequired
      • descriptionstring | nullrequired
      • highlightsarray of stringrequired
  • photosarray of PhotorequiredThe kit's photos. URLs are signed and expire after about 6 hours; download them, do not hotlink.
    • urlstring (uri)requiredThe original, signed (about 6 hours).
    • widthinteger | nullrequired
    • heightinteger | nullrequired
    • sourcesarray of objectrequiredSmaller responsive copies by format, best first (`<picture>` sources): AVIF where our servers can encode it, WebP, then JPEG. Empty until the copies are made; the original `url` is then the only source.
      • typestringrequired
      • srcsetstringrequired
  • thumbnailPhoto | nullrequiredThe home's picture for lists and feeds, as the app shows it: the kit's first photo, else the tour's thumbnail (always the tour's for tour-only homes). Null until there is one. Signed like `photos`.
    • urlstring (uri)requiredThe original, signed (about 6 hours).
    • widthinteger | nullrequired
    • heightinteger | nullrequired
    • sourcesarray of objectrequiredSmaller responsive copies by format, best first (`<picture>` sources): AVIF where our servers can encode it, WebP, then JPEG. Empty until the copies are made; the original `url` is then the only source.
      • typestringrequired
      • srcsetstringrequired
  • created_atstring (date-time)required
  • updated_atstring (date-time)required
ListingTextobject | null
  • titlestringrequired
  • descriptionstring | nullrequired
  • highlightsarray of stringrequired
Photoobject
  • urlstring (uri)requiredThe original, signed (about 6 hours).
  • widthinteger | nullrequired
  • heightinteger | nullrequired
  • sourcesarray of objectrequiredSmaller responsive copies by format, best first (`<picture>` sources): AVIF where our servers can encode it, WebP, then JPEG. Empty until the copies are made; the original `url` is then the only source.
    • typestringrequired
    • srcsetstringrequired
PropertyCreateobject
  • titlestringrequired
  • referencestring | nullYour own ID for the home. Must be unique in your organization.
  • addressstring | null
  • citystring | null
  • postal_codestring | null
  • countrystringISO 3166-1 alpha-2 code of the home's country.One of: "ES", "DE"Default: "ES"
  • operationstring | nullOne of: "sale", "rent", nullDefault: "sale"
  • priceinteger | nullRange: 0–100000000
  • bedroomsinteger | nullRange: 0–50
  • bathroomsinteger | nullRange: 0–50
  • area_m2number | nullRange: 1–100000
  • kit_enabledbooleanFalse creates a tour-only home ("solo visita"): it gets the tour without the sales kit or a page. Default: true
  • show_exact_locationbooleanShow the exact point on the public page's map instead of an area around the home.Default: false
  • agent_emailstring (email) | nullThe member of your organization in charge of the home. Defaults to the organization's owner.
PropertyUpdateobject

Any of the creation fields; only the ones sent change.

  • titlestring
  • referencestring | null
  • addressstring | null
  • citystring | null
  • postal_codestring | null
  • countrystringISO 3166-1 alpha-2 code of the home's country.One of: "ES", "DE"
  • operationstring | nullOne of: "sale", "rent", null
  • priceinteger | nullRange: 0–100000000
  • bedroomsinteger | nullRange: 0–50
  • bathroomsinteger | nullRange: 0–50
  • area_m2number | nullRange: 1–100000
  • kit_enabledbooleanThe tour-only switch, with the app's rules. `false` is refused while the page is published (`422 unpublish_first`); the kit pieces the home has are kept, hidden. `true` shows them again; when the home has a recording but no kit yet, the kit is ordered from it.
  • show_exact_locationbooleanShow the exact point on the public page's map (true) or an area around the home (false).
  • agent_emailstring (email) | nullHand the home to another member; null gives it back to the organization's owner.
PropertyListobject
  • dataarray of Propertyrequired
    • idstringrequired
    • referencestring | nullrequiredYour own ID for the home, unique in your organization.
    • titlestringrequiredThe home's internal name in the app.
    • addressstring | nullrequired
    • citystring | nullrequired
    • postal_codestring | nullrequired
    • countrystringrequiredISO 3166-1 alpha-2 code of the home's country. It decides which documents the home needs and where its address is looked up on the map.One of: "ES", "DE"
    • operationstring | nullrequiredOne of: "sale", "rent", null
    • priceinteger | nullrequiredWhole euros.
    • currencystringrequired
    • bedroomsinteger | nullrequired
    • bathroomsinteger | nullrequired
    • area_m2number | nullrequired
    • kit_enabledbooleanrequiredFalse for tour-only homes ("solo visita"): they get the tour without the sales kit or a page, and their `texts` and `photos` are hidden (null and empty) while the kit is off.
    • show_exact_locationbooleanrequiredHow the public page's map places the home: the exact point (true), or an area of about 300 m around it whose centre is not the home (false, the default). The address itself is never public.
    • statusPropertyStatusrequiredWhere the home stands, as the app shows it: `no_recording` (no tour yet: no 360 photos nor recording), `processing` (a recording is being turned into a tour), `recording_problem` (no tour and the latest recording was rejected or failed), `generating` (the tour exists and kit pieces are still being made), `ready` (tour and kit settled, page not published; a home with 360 photos is ready), `published` (the public page is live). The names are kept for compatibility. One of: "no_recording", "processing", "recording_problem", "generating", "ready", "published"
    • attentionarray of stringrequiredWhat needs the agency: `needs_recording`, `recording_rejected`, `recording_failed`, `kit_missing`, `missing_details`, `pieces_failed`, `ready_to_publish`, `tour_hidden`. New values may be added.
    • tourobject | nullrequiredThe home's 3D tour (homes recorded before tours were made from 360 photos), null without one. A private tour has no links.
      • readybooleanrequired
      • share_urlstring (uri) | nullrequired
      • embed_urlstring (uri) | nullrequired
      • embed_htmlstring | nullrequiredThe iframe to paste in other websites; null when the organization does not allow embedding.
    • pageobjectrequired
      • publishedbooleanrequired
      • urlstring (uri) | nullrequiredThe public page, while it is published.
      • published_atstring (date-time) | nullrequired
    • textsobject | nullrequiredListing texts per language (es, en, ca, de), null until written. A language not written yet is null.
      • esListingText
        • titlestringrequired
        • descriptionstring | nullrequired
        • highlightsarray of stringrequired
      • enListingText
        • titlestringrequired
        • descriptionstring | nullrequired
        • highlightsarray of stringrequired
      • caListingText
        • titlestringrequired
        • descriptionstring | nullrequired
        • highlightsarray of stringrequired
      • deListingText
        • titlestringrequired
        • descriptionstring | nullrequired
        • highlightsarray of stringrequired
    • photosarray of PhotorequiredThe kit's photos. URLs are signed and expire after about 6 hours; download them, do not hotlink.
      • urlstring (uri)requiredThe original, signed (about 6 hours).
      • widthinteger | nullrequired
      • heightinteger | nullrequired
      • sourcesarray of objectrequiredSmaller responsive copies by format, best first (`<picture>` sources): AVIF where our servers can encode it, WebP, then JPEG. Empty until the copies are made; the original `url` is then the only source.
        • typestringrequired
        • srcsetstringrequired
    • thumbnailPhoto | nullrequiredThe home's picture for lists and feeds, as the app shows it: the kit's first photo, else the tour's thumbnail (always the tour's for tour-only homes). Null until there is one. Signed like `photos`.
      • urlstring (uri)requiredThe original, signed (about 6 hours).
      • widthinteger | nullrequired
      • heightinteger | nullrequired
      • sourcesarray of objectrequiredSmaller responsive copies by format, best first (`<picture>` sources): AVIF where our servers can encode it, WebP, then JPEG. Empty until the copies are made; the original `url` is then the only source.
        • typestringrequired
        • srcsetstringrequired
    • created_atstring (date-time)required
    • updated_atstring (date-time)required
  • next_cursorstring | nullrequired
Leadobject
  • idstringrequired
  • property_idstringrequired
  • namestringrequired
  • emailstring (email) | nullrequired
  • phonestring | nullrequired
  • messagestring | nullrequired
  • created_atstring (date-time)required
LeadListobject
  • dataarray of Leadrequired
    • idstringrequired
    • property_idstringrequired
    • namestringrequired
    • emailstring (email) | nullrequired
    • phonestring | nullrequired
    • messagestring | nullrequired
    • created_atstring (date-time)required
  • next_cursorstring | nullrequired
Organizationobject
  • idstringrequired
  • namestringrequired
  • planPlanrequiredThe organization's plan, its limits (null: no limit) and what the organization uses of them, counted as publishing (`403 plan_published_limit`) and inviting (`403 plan_user_limit`) are refused.
    • keystringrequired`free`, `pro` or `enterprise`. New values may be added.
    • published_limitinteger | nullrequiredHomes that can be published at the same time; null without a limit.
    • user_limitinteger | nullrequiredPeople in the team, members plus pending invitations; null without a limit.
    • publishedintegerrequiredHomes of the organization published now.
    • usersintegerrequiredMembers plus invitations still pending.
Planobject

The organization's plan, its limits (null: no limit) and what the organization uses of them, counted as publishing (`403 plan_published_limit`) and inviting (`403 plan_user_limit`) are refused.

  • keystringrequired`free`, `pro` or `enterprise`. New values may be added.
  • published_limitinteger | nullrequiredHomes that can be published at the same time; null without a limit.
  • user_limitinteger | nullrequiredPeople in the team, members plus pending invitations; null without a limit.
  • publishedintegerrequiredHomes of the organization published now.
  • usersintegerrequiredMembers plus invitations still pending.
WebhookEndpointobject
  • idstringrequired
  • urlstring (uri)required
  • descriptionstring | nullrequired
  • eventsarray of stringrequiredEvent types it receives; `["*"]` is every type, including ones added later.
  • enabledbooleanrequired
  • failure_countintegerrequiredFailed attempts since the last success.
  • disabled_atstring (date-time) | nullrequired
  • disabled_reasonstring | nullrequired`failing`: switched off automatically after 3 days of failures or 50 failed deliveries in a row (the owner gets an email); `manual`: switched off by your agency. One of: "failing", "manual", null
  • created_atstring (date-time)required
  • updated_atstring (date-time)required
WebhookEndpointWithSecretobject
  • secretstringrequiredThe signing secret, shown only on creation and rotation.
  • idstringrequired
  • urlstring (uri)required
  • descriptionstring | nullrequired
  • eventsarray of stringrequiredEvent types it receives; `["*"]` is every type, including ones added later.
  • enabledbooleanrequired
  • failure_countintegerrequiredFailed attempts since the last success.
  • disabled_atstring (date-time) | nullrequired
  • disabled_reasonstring | nullrequired`failing`: switched off automatically after 3 days of failures or 50 failed deliveries in a row (the owner gets an email); `manual`: switched off by your agency. One of: "failing", "manual", null
  • created_atstring (date-time)required
  • updated_atstring (date-time)required
WebhookEndpointCreateobject
  • urlstring (uri)requiredHTTPS, on a public address, without user name or password.
  • eventsarray of stringrequired
  • descriptionstring | null
  • enabledbooleanDefault: true
WebhookEndpointUpdateobject

Any of the creation fields; only the ones sent change.

  • urlstring (uri)
  • eventsarray of string
  • descriptionstring | null
  • enabledboolean
WebhookDeliveryobject
  • idstringrequired
  • endpoint_idstringrequired
  • event_idstringrequired
  • event_typestringrequiredAn event type, or `ping` for test events.
  • statusstringrequired`pending` while attempts remain, `failed` after the last retry (or when the endpoint was disabled).One of: "pending", "succeeded", "failed"
  • attemptintegerrequiredAttempts made so far.
  • response_statusinteger | nullrequiredThe HTTP status your endpoint answered on the last attempt.
  • response_body_excerptstring | nullrequiredThe first kilobyte of that answer.
  • duration_msinteger | nullrequired
  • errorstring | nullrequiredWhy the last attempt got no HTTP answer (`timeout`, `connection_failed`, `private_address`, `endpoint_disabled`...).
  • next_retry_atstring (date-time) | nullrequired
  • payloadEventEnveloperequiredEvery webhook delivery is a POST with this JSON body and the headers `Instaenv-Signature` (`t=<unix>,v1=<hex HMAC-SHA256(secret, "<t>.<raw body>")>`), `Instaenv-Event-Id`, `Instaenv-Event-Type`, `Content-Type: application/json` and `User-Agent: Instaenv-Webhooks/1`. Reject timestamps older than 5 minutes. Any 2xx within 10 seconds counts as delivered; otherwise it is retried after 1 min, 5 min, 30 min, 2 h, 6 h, 12 h and 24 h. Delivery is at-least-once: deduplicate by `id`.
    • idstringrequired
    • typeEventTyperequiredOne of: "property.created", "property.updated", "property.deleted", "recording.uploaded", "recording.failed", "tour.ready", "kit.ready", "property.published", "property.unpublished", "lead.created"
    • created_atstring (date-time)required
    • api_versionstringrequired
    • organization_idstringrequired
    • dataobjectrequired
      • objectobjectrequired
  • created_atstring (date-time)required
  • updated_atstring (date-time)required
Recordingobject

The recording an event is about (`data.recording` of recording and tour events).

  • idstringrequired
  • statusstringrequired`analyzing`, `reconstructing`, `published`, `failed`, `rejected`...
  • correctivebooleanrequiredA corrective recording, redoing one area of a published tour.
  • uploaded_atstring (date-time) | nullrequired
  • created_atstring (date-time)required
EventTypestring

One of: "property.created", "property.updated", "property.deleted", "recording.uploaded", "recording.failed", "tour.ready", "kit.ready", "property.published", "property.unpublished", "lead.created"

EventEnvelopeobject

Every webhook delivery is a POST with this JSON body and the headers `Instaenv-Signature` (`t=<unix>,v1=<hex HMAC-SHA256(secret, "<t>.<raw body>")>`), `Instaenv-Event-Id`, `Instaenv-Event-Type`, `Content-Type: application/json` and `User-Agent: Instaenv-Webhooks/1`. Reject timestamps older than 5 minutes. Any 2xx within 10 seconds counts as delivered; otherwise it is retried after 1 min, 5 min, 30 min, 2 h, 6 h, 12 h and 24 h. Delivery is at-least-once: deduplicate by `id`.

  • idstringrequired
  • typeEventTyperequiredOne of: "property.created", "property.updated", "property.deleted", "recording.uploaded", "recording.failed", "tour.ready", "kit.ready", "property.published", "property.unpublished", "lead.created"
  • created_atstring (date-time)required
  • api_versionstringrequired
  • organization_idstringrequired
  • dataobjectrequired
    • objectobjectrequired
PropertyEventobject
  • dataobjectrequired
    • objectobjectrequired
  • idstringrequired
  • typeEventTyperequiredOne of: "property.created", "property.updated", "property.deleted", "recording.uploaded", "recording.failed", "tour.ready", "kit.ready", "property.published", "property.unpublished", "lead.created"
  • created_atstring (date-time)required
  • api_versionstringrequired
  • organization_idstringrequired
PropertyDeletedEventobject
  • typeEventTyperequiredOne of: "property.created", "property.updated", "property.deleted", "recording.uploaded", "recording.failed", "tour.ready", "kit.ready", "property.published", "property.unpublished", "lead.created"
  • dataobjectrequired
    • objectobjectrequired
  • idstringrequired
  • created_atstring (date-time)required
  • api_versionstringrequired
  • organization_idstringrequired
RecordingEventobject
  • dataobjectrequired
    • objectobjectrequired
  • idstringrequired
  • typeEventTyperequiredOne of: "property.created", "property.updated", "property.deleted", "recording.uploaded", "recording.failed", "tour.ready", "kit.ready", "property.published", "property.unpublished", "lead.created"
  • created_atstring (date-time)required
  • api_versionstringrequired
  • organization_idstringrequired
RecordingFailedEventobject
  • typeEventTyperequiredOne of: "property.created", "property.updated", "property.deleted", "recording.uploaded", "recording.failed", "tour.ready", "kit.ready", "property.published", "property.unpublished", "lead.created"
  • dataobjectrequired
    • objectobjectrequired
  • idstringrequired
  • created_atstring (date-time)required
  • api_versionstringrequired
  • organization_idstringrequired
LeadEventobject
  • typeEventTyperequiredOne of: "property.created", "property.updated", "property.deleted", "recording.uploaded", "recording.failed", "tour.ready", "kit.ready", "property.published", "property.unpublished", "lead.created"
  • dataobjectrequired
    • objectobjectrequired
  • idstringrequired
  • created_atstring (date-time)required
  • api_versionstringrequired
  • organization_idstringrequired