Purplebricks Access Details API

The AccessDetails API from Purplebricks — 3 operation(s) for accessdetails.

Business capability
Showing & Open House Operations BC-4960.50

Operations 4

GET /v1/accessdetails/{propertyId} Get accessdetails by property id #
POST /v1/accessdetails/{propertyId} Create accessdetails by property id #
GET /v1/accessdetails/{propertyId}/summary Get accessdetails by property id summary #
GET /v1/accessdetails/{propertyId}/revealkeysafecode Get accessdetails by property id revealkeysafecode #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/purplebricks-accessdetails-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

purplebricks-accessdetails-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Purplebricks.Viewings.Api 1.0 - Customer Experience Access…
  description: '### Purplebricks Viewings API.

    ### Purplebricks.Viewings.Api Git Repository'
  version: '1.0'
servers:
- url: https://api.purplebricks.co.uk/viewings-api
security:
- Bearer: []
tags:
- name: AccessDetails
paths:
  /v1/accessdetails/{propertyId}:
    get:
      tags:
      - AccessDetails
      parameters:
      - name: propertyId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: userId
        in: query
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsResponseModel'
            application/json:
              schema:
                $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsResponseModel'
            text/json:
              schema:
                $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsResponseModel'
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                type: string
            application/json:
              schema:
                type: string
            text/json:
              schema:
                type: string
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
      summary: Get accessdetails by property id
      x-summary-source: derived
      operationId: getV1AccessdetailsByPropertyId
      x-operation-id-source: derived
    post:
      tags:
      - AccessDetails
      parameters:
      - name: propertyId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsBaseModel'
          text/json:
            schema:
              $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsBaseModel'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsBaseModel'
      responses:
        '200':
          description: Success
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FluentValidation.Results.ValidationFailure'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FluentValidation.Results.ValidationFailure'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FluentValidation.Results.ValidationFailure'
      summary: Create accessdetails by property id
      x-summary-source: derived
      operationId: postV1AccessdetailsByPropertyId
      x-operation-id-source: derived
  /v1/accessdetails/{propertyId}/summary:
    get:
      tags:
      - AccessDetails
      parameters:
      - name: propertyId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsSummaryModel'
            application/json:
              schema:
                $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsSummaryModel'
            text/json:
              schema:
                $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsSummaryModel'
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                type: string
            application/json:
              schema:
                type: string
            text/json:
              schema:
                type: string
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
      summary: Get accessdetails by property id summary
      x-summary-source: derived
      operationId: getV1AccessdetailsByPropertyIdSummary
      x-operation-id-source: derived
  /v1/accessdetails/{propertyId}/revealkeysafecode:
    get:
      tags:
      - AccessDetails
      parameters:
      - name: propertyId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: userId
        in: query
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsResponseModel'
            application/json:
              schema:
                $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsResponseModel'
            text/json:
              schema:
                $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsResponseModel'
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                type: string
            application/json:
              schema:
                type: string
            text/json:
              schema:
                type: string
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                type: string
            application/json:
              schema:
                type: string
            text/json:
              schema:
                type: string
        '500':
          description: Server Error
          content:
            text/plain:
              schema:
                type: string
            application/json:
              schema:
                type: string
            text/json:
              schema:
                type: string
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
      summary: Get accessdetails by property id revealkeysafecode
      x-summary-source: derived
      operationId: getV1AccessdetailsByPropertyIdRevealkeysafecode
      x-operation-id-source: derived
components:
  schemas:
    Purplebricks.Viewings.DataModels.Enums.AccessDetails.KeySafeOwnershipType:
      enum:
      - Ordered
      - Own
      - Viewber
      type: string
    Purplebricks.Viewings.DataModels.Enums.AccessDetails.AccessVia:
      enum:
      - Seller
      - Tenant
      - KeySafe
      - Other
      - Viewber
      type: string
    Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsViewberDetails:
      type: object
      properties:
        agentName:
          type:
          - string
          - 'null'
        keysHeld:
          type:
          - string
          - 'null'
        viewingCriteria:
          $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Enums.AccessDetails.ViewberViewingCriteria'
      additionalProperties: false
    Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsResponseModel:
      type: object
      properties:
        propertyId:
          type: integer
          format: int32
        canEdit:
          type: boolean
        canView:
          type: boolean
        propertyAccessDetails:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsModel'
      additionalProperties: false
    Purplebricks.Viewings.DataModels.Models.AccessDetails.AccessDetailEntry:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
        accessVia:
          $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Enums.AccessDetails.AccessVia'
        firstName:
          type:
          - string
          - 'null'
        lastName:
          type:
          - string
          - 'null'
        phoneNumber:
          type:
          - string
          - 'null'
        actionDate:
          type: string
          format: date-time
        version:
          type: integer
          format: int32
      additionalProperties: false
    Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsSummaryModel:
      type: object
      properties:
        propertyId:
          type: integer
          format: int32
        hasAccessDetails:
          type: boolean
          readOnly: true
        count:
          type: integer
          format: int32
        accessDetails:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.AccessDetailEntry'
      additionalProperties: false
    Microsoft.AspNetCore.Mvc.ProblemDetails:
      type: object
      properties:
        type:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - integer
          - 'null'
          format: int32
        detail:
          type:
          - string
          - 'null'
        instance:
          type:
          - string
          - 'null'
      additionalProperties: {}
    Purplebricks.Viewings.DataModels.Enums.AccessDetails.RelationshipToOwner:
      enum:
      - EstateOrLettingsAgency
      - Photographer
      - FriendOrFamilyMember
      - Concierge
      type: string
    Purplebricks.Viewings.DataModels.Enums.AccessDetails.KeySafeViewingCriteria:
      enum:
      - AsAndWhen
      - ViaSeller
      - ViaTenant
      type: string
    Purplebricks.Viewings.DataModels.Enums.AccessDetails.ViewberViewingCriteria:
      enum:
      - AsAndWhen
      - ViaSeller
      - ViaTenant
      type: string
    FluentValidation.Results.ValidationFailure:
      type: object
      properties:
        propertyName:
          type:
          - string
          - 'null'
        errorMessage:
          type:
          - string
          - 'null'
        attemptedValue: {}
        customState: {}
        severity:
          $ref: '#/components/schemas/FluentValidation.Severity'
        errorCode:
          type:
          - string
          - 'null'
        formattedMessagePlaceholderValues:
          type:
          - object
          - 'null'
          additionalProperties: {}
      additionalProperties: false
    Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsModel:
      type: object
      properties:
        agentName:
          type:
          - string
          - 'null'
        accessVia:
          $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Enums.AccessDetails.AccessVia'
        firstName:
          type:
          - string
          - 'null'
        lastName:
          type:
          - string
          - 'null'
        phoneNumber:
          type:
          - string
          - 'null'
        emailAddress:
          type:
          - string
          - 'null'
        keySafeOwnershipType:
          $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Enums.AccessDetails.KeySafeOwnershipType'
        keySafeViewingCriteria:
          $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Enums.AccessDetails.KeySafeViewingCriteria'
        keySafeLocation:
          type:
          - string
          - 'null'
        keySafeCode:
          type:
          - string
          - 'null'
        notes:
          type:
          - string
          - 'null'
        loggingHistory:
          type:
          - array
          - 'null'
          items:
            type: string
        sellerIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        tenants:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsTenant'
        otherDetails:
          $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsOther'
        viewberDetails:
          $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsViewberDetails'
        id:
          type:
          - string
          - 'null'
        propertyId:
          type: integer
          format: int32
        actionDate:
          type: string
          format: date-time
        version:
          type: integer
          format: int32
        canEdit:
          type: boolean
        canView:
          type: boolean
      additionalProperties: false
    Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsTenant:
      type: object
      properties:
        firstName:
          type:
          - string
          - 'null'
        lastName:
          type:
          - string
          - 'null'
        phoneNumber:
          type:
          - string
          - 'null'
        emailAddress:
          type:
          - string
          - 'null'
      additionalProperties: false
    Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsOther:
      type: object
      properties:
        firstName:
          type:
          - string
          - 'null'
        lastName:
          type:
          - string
          - 'null'
        phoneNumber:
          type:
          - string
          - 'null'
        emailAddress:
          type:
          - string
          - 'null'
        keyCollectionAddress:
          type:
          - string
          - 'null'
        relationshipToOwner:
          $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Enums.AccessDetails.RelationshipToOwner'
      additionalProperties: false
    FluentValidation.Severity:
      enum:
      - Error
      - Warning
      - Info
      type: string
    Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsBaseModel:
      type: object
      properties:
        agentName:
          type:
          - string
          - 'null'
        accessVia:
          $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Enums.AccessDetails.AccessVia'
        firstName:
          type:
          - string
          - 'null'
        lastName:
          type:
          - string
          - 'null'
        phoneNumber:
          type:
          - string
          - 'null'
        emailAddress:
          type:
          - string
          - 'null'
        keySafeOwnershipType:
          $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Enums.AccessDetails.KeySafeOwnershipType'
        keySafeViewingCriteria:
          $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Enums.AccessDetails.KeySafeViewingCriteria'
        keySafeLocation:
          type:
          - string
          - 'null'
        keySafeCode:
          type:
          - string
          - 'null'
        notes:
          type:
          - string
          - 'null'
        loggingHistory:
          type:
          - array
          - 'null'
          items:
            type: string
        sellerIds:
          type:
          - array
          - 'null'
          items:
            type: integer
            format: int32
        tenants:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsTenant'
        otherDetails:
          $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsOther'
        viewberDetails:
          $ref: '#/components/schemas/Purplebricks.Viewings.DataModels.Models.AccessDetails.PropertyAccessDetailsViewberDetails'
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: apiKey
      description: Authorization header using Bearer scheme
      name: Authorization
      in: header