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

# Search for persons

> Multi search enables to carry out multiple search requests in a single request

This endpoint is only enabled for customers that passed certain requirements (purpose validation) and
has separate throttling enabled.


## OpenAPI

````yaml post /search/persons
openapi: 3.0.4
info:
  title: TIC API
  description: ''
  version: v1
servers:
  - url: https://api.tic.io/
security:
  - ApiKey: []
tags:
  - name: BolagsverketStatistics
  - name: Companies
  - name: Companies_SE_
  - name: DocumentDelivery
  - name: EuropeanCommission
  - name: FinancialDocuments
  - name: Finansinspektionen
  - name: Free
  - name: ICA
  - name: ICAStatistics
  - name: Lists
  - name: Media
  - name: Persons
  - name: Persons_SE_
  - name: Properties_SE_
  - name: PTSPortings
  - name: Reseller
  - name: SearchBankruptciesReports
  - name: SearchCompanies
  - name: SearchCompaniesReports
  - name: SearchCompanyWorkplaces
  - name: SearchPerson
  - name: SearchProperties_SE_
  - name: SearchVehicles
  - name: TeamDocumentOrders
  - name: Teams
  - name: User
  - name: Vehicles_SE_
  - name: WatchLists
paths:
  /search/persons:
    post:
      tags:
        - SearchPerson
      summary: Search for persons
      description: >-
        Multi search enables to carry out multiple search requests in a single
        request
      operationId: SearchPersonsMulti
      requestBody:
        description: >-
          For full documentation check
          https://typesense.org/docs/27.1/api/federated-multi-search.html#multi-search-parameters
        content:
          application/json-patch+json:
            schema: {}
          application/json:
            schema: {}
          text/json:
            schema: {}
          application/*+json:
            schema: {}
        required: true
      responses:
        '200':
          description: The search response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Ormeo_Library_Search_Documents_TypesensePersonDocumentTypesenseSearchResponse
components:
  schemas:
    Ormeo_Library_Search_Documents_TypesensePersonDocumentTypesenseSearchResponse:
      type: object
      properties:
        facet_counts:
          type: array
          items:
            $ref: '#/components/schemas/Ormeo_Library_Search_TypesenseFacetCounts'
          nullable: true
        found:
          type: integer
          format: int32
        hits:
          type: array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Search_Documents_TypesensePersonDocumentHit
          nullable: true
        grouped_hits:
          $ref: >-
            #/components/schemas/Ormeo_Library_Search_Documents_TypesensePersonDocumentGroupedHits
        out_of:
          type: integer
          format: int32
        page:
          type: integer
          format: int32
        request_params:
          $ref: '#/components/schemas/Ormeo_Library_Search_RequestParams'
        search_cutoff:
          type: boolean
          nullable: true
        search_time_ms:
          type: integer
          format: int32
      additionalProperties: false
    Ormeo_Library_Search_TypesenseFacetCounts:
      type: object
      properties:
        counts:
          type: array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Search_TypesenseFacetCountDetails
          nullable: true
        field_name:
          type: string
          nullable: true
        sampled:
          type: boolean
        stats:
          $ref: '#/components/schemas/Ormeo_Library_Search_TypesenseFacetCountsStats'
        localizedFieldName:
          type: string
          nullable: true
          readOnly: true
      additionalProperties: false
    Ormeo_Library_Search_Documents_TypesensePersonDocumentHit:
      type: object
      properties:
        document:
          $ref: >-
            #/components/schemas/Ormeo_Library_Search_Documents_TypesensePersonDocument
        geo_distance_meters:
          nullable: true
        highlight:
          nullable: true
        highlights:
          type: array
          items:
            $ref: '#/components/schemas/Ormeo_Library_Search_HighlightElement'
          nullable: true
        text_match:
          type: number
          format: double
          nullable: true
        text_match_info:
          $ref: '#/components/schemas/Ormeo_Library_Search_TextMatchInfo'
      additionalProperties: false
    Ormeo_Library_Search_Documents_TypesensePersonDocumentGroupedHits:
      type: object
      properties:
        group_key:
          type: array
          items:
            type: string
          nullable: true
        hits:
          type: array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Search_Documents_TypesensePersonDocumentHit
          nullable: true
      additionalProperties: false
    Ormeo_Library_Search_RequestParams:
      type: object
      properties:
        collection_name:
          type: string
          nullable: true
        first_q:
          type: string
          nullable: true
        per_page:
          type: integer
          format: int64
          nullable: true
        q:
          type: string
          nullable: true
      additionalProperties: false
    Ormeo_Library_Search_TypesenseFacetCountDetails:
      type: object
      properties:
        count:
          type: integer
          format: int64
        highlighted:
          type: string
          nullable: true
        value:
          type: string
          nullable: true
      additionalProperties: false
    Ormeo_Library_Search_TypesenseFacetCountsStats:
      type: object
      properties:
        total_values:
          type: integer
          format: int64
      additionalProperties: false
    Ormeo_Library_Search_Documents_TypesensePersonDocument:
      type: object
      properties:
        id:
          type: string
          nullable: true
        personId:
          type: integer
          format: int32
        personalIdentityNumber:
          type: string
          nullable: true
        allIdentities:
          type: array
          items:
            type: string
          nullable: true
        birthday:
          type: string
          nullable: true
        isProtected:
          type: boolean
        isCoordinationNumber:
          type: boolean
          nullable: true
        givenName:
          type: string
          nullable: true
        firstName:
          type: string
          nullable: true
        middleName:
          type: string
          nullable: true
        lastName:
          type: string
          nullable: true
        fullName:
          type: string
          nullable: true
        sex:
          $ref: '#/components/schemas/Ormeo_Library_Entities_PersonSexType'
        spar:
          $ref: '#/components/schemas/Ormeo_Library_Search_Documents_SPAR_Record'
      additionalProperties: false
    Ormeo_Library_Search_HighlightElement:
      type: object
      properties:
        field:
          type: string
          nullable: true
        matched_tokens:
          type: array
          items:
            type: string
          nullable: true
        snippet:
          type: string
          nullable: true
      additionalProperties: false
    Ormeo_Library_Search_TextMatchInfo:
      type: object
      properties:
        best_field_score:
          type: string
          nullable: true
        best_field_weight:
          type: integer
          format: int64
          nullable: true
        fields_matched:
          type: integer
          format: int64
          nullable: true
        num_tokens_dropped:
          type: integer
          format: int64
          nullable: true
        score:
          type: string
          nullable: true
        tokens_matched:
          type: integer
          format: int64
          nullable: true
        typo_prefix_score:
          type: integer
          format: int64
          nullable: true
      additionalProperties: false
    Ormeo_Library_Entities_PersonSexType:
      enum:
        - male
        - female
      type: string
    Ormeo_Library_Search_Documents_SPAR_Record:
      type: object
      properties:
        notificationRecordId:
          type: integer
          format: int32
          nullable: true
        person_PersonIdTyp:
          $ref: '#/components/schemas/Ormeo_Library_Entities_SPAR_PersonIdTyp'
        person_SenasteAndringSPAR:
          type: integer
          format: int64
          nullable: true
        skydd_Sekretessmarkering:
          type: boolean
          nullable: true
        skydd_SekretessmarkeringSattAvSPAR:
          type: boolean
          nullable: true
        skydd_SekretessDatum:
          type: integer
          format: int64
          nullable: true
        skydd_SkyddadFolkbokforing:
          type: boolean
          nullable: true
        skydd_SkyddadFolkbokforingDatum:
          type: integer
          format: int64
          nullable: true
        personDetaljer_SnIdentitetsniva:
          $ref: '#/components/schemas/Ormeo_Library_Entities_SPAR_SnIdentitetsniva'
        personDetaljer_SnIdentitetsnivaDatum:
          type: string
          nullable: true
        personDetaljer_SnTilldelningsdatum:
          type: string
          nullable: true
        personDetaljer_SnPreliminartVilandeforklaringsdatum:
          type: string
          nullable: true
        personDetaljer_SnFornyelsedatum:
          type: string
          nullable: true
        personDetaljer_SnVilandeorsak:
          type: string
          nullable: true
        personDetaljer_SnVilandeforklaringsdatum:
          type: string
          nullable: true
        personDetaljer_SnAvlidendatum:
          type: string
          nullable: true
        personDetaljer_SnStatus:
          type: string
          nullable: true
        personDetaljer_Sekretessmarkering:
          type: boolean
          nullable: true
        personDetaljer_SekretessmarkeringSattAvSPAR:
          type: boolean
          nullable: true
        personDetaljer_Avlidendatum:
          type: string
          nullable: true
        personDetaljer_AntraffadDodDatum:
          type: string
          nullable: true
        personDetaljer_AvregistreringsorsakKod:
          type: string
          nullable: true
        personDetaljer_Avregistreringsdatum:
          type: string
          nullable: true
        personDetaljer_SkyddadFolkbokforing:
          type: boolean
          nullable: true
        personDetaljer_Fodelsedatum:
          type: integer
          format: int64
          nullable: true
        folkbokforing_FolkbokfordLanKod:
          type: string
          nullable: true
        folkbokforing_FolkbokfordKommunKod:
          type: string
          nullable: true
        folkbokforing_HemvistTyp:
          $ref: '#/components/schemas/Ormeo_Library_Entities_SPAR_Hemvist'
        folkbokforing_Folkbokforingsdatum:
          type: integer
          format: int64
          nullable: true
        folkbokforing_DistriktKod:
          type: string
          nullable: true
        folkbokforingsadress_SvenskAdress_CareOf:
          type: string
          nullable: true
        folkbokforingsadress_SvenskAdress_Utdelningsadress1:
          type: string
          nullable: true
        folkbokforingsadress_SvenskAdress_Utdelningsadress2:
          type: string
          nullable: true
        folkbokforingsadress_SvenskAdress_PostNr:
          type: string
          nullable: true
        folkbokforingsadress_SvenskAdress_Postort:
          type: string
          nullable: true
        utlandsadress_InternationellAdress_Utdelningsadress1:
          type: string
          nullable: true
        utlandsadress_InternationellAdress_Utdelningsadress2:
          type: string
          nullable: true
        utlandsadress_InternationellAdress_Utdelningsadress3:
          type: string
          nullable: true
        utlandsadress_InternationellAdress_Land:
          type: string
          nullable: true
        sarskildPostadress_SvenskAdress_CareOf:
          type: string
          nullable: true
        sarskildPostadress_SvenskAdress_Utdelningsadress1:
          type: string
          nullable: true
        sarskildPostadress_SvenskAdress_Utdelningsadress2:
          type: string
          nullable: true
        sarskildPostadress_SvenskAdress_PostNr:
          type: string
          nullable: true
        sarskildPostadress_SvenskAdress_Postort:
          type: string
          nullable: true
        sarskildPostadress_InternationellAdress_Utdelningsadress1:
          type: string
          nullable: true
        sarskildPostadress_InternationellAdress_Utdelningsadress2:
          type: string
          nullable: true
        sarskildPostadress_InternationellAdress_Utdelningsadress3:
          type: string
          nullable: true
        sarskildPostadress_InternationellAdress_Land:
          type: string
          nullable: true
        kontaktadress_SvenskAdress_CareOf:
          type: string
          nullable: true
        kontaktadress_SvenskAdress_Utdelningsadress1:
          type: string
          nullable: true
        kontaktadress_SvenskAdress_Utdelningsadress2:
          type: string
          nullable: true
        kontaktadress_SvenskAdress_PostNr:
          type: string
          nullable: true
        kontaktadress_SvenskAdress_Postort:
          type: string
          nullable: true
        kontaktadress_InternationellAdress_Utdelningsadress1:
          type: string
          nullable: true
        kontaktadress_InternationellAdress_Utdelningsadress2:
          type: string
          nullable: true
        kontaktadress_InternationellAdress_Utdelningsadress3:
          type: string
          nullable: true
        kontaktadress_InternationellAdress_Land:
          type: string
          nullable: true
      additionalProperties: false
    Ormeo_Library_Entities_SPAR_PersonIdTyp:
      enum:
        - personnummer
        - samordningsnummer
        - immunitetsnummer
      type: string
    Ormeo_Library_Entities_SPAR_SnIdentitetsniva:
      enum:
        - styrkt
        - sannolik
        - osaker
        - inteTillamplig
      type: string
    Ormeo_Library_Entities_SPAR_Hemvist:
      enum:
        - skrivenPaAdressen
        - paKommunenSkriven
        - utanKantHemvist
      type: string
  securitySchemes:
    ApiKey:
      type: apiKey
      name: x-api-key
      in: header

````