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

# Update User



## OpenAPI

````yaml user-openapi.json PUT /v1/user/{user_id}
openapi: 3.0.0
info:
  title: Verisoul API v1 (beta)
  description: >-
    The new Verisoul API, served at api.verisoul.com under /v1. Endpoints not
    yet moved to the new shape return their legacy success body. Every /v1 error
    uses the new error body.
  license:
    name: MIT
  version: 1.0.0-beta
servers:
  - url: https://api.sandbox.verisoul.com
    description: Sandbox
  - url: https://api.verisoul.com
    description: Production
security:
  - apiKeyAuth: []
paths:
  /v1/user/{user_id}:
    put:
      description: Updates a user and returns it in the same format as Get User
      parameters:
        - schema:
            type: string
            description: ID of the user to update
          required: true
          name: user_id
          in: path
      requestBody:
        description: User information to update
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserUpdateRequest'
      responses:
        '200':
          description: Updated user information
          headers:
            X-RateLimit-Limit:
              schema:
                type: integer
                description: The project's request limit for the rolling 60-second window
              required: false
            X-RateLimit-Remaining:
              schema:
                type: integer
                minimum: 0
                description: >-
                  Requests left in the rolling 60-second window. Shorter burst
                  windows can still return a 429 while this is above 0
              required: false
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
              example:
                metadata:
                  timestamp: '2026-11-11T15:42:08.311Z'
                  request_id: 6486af8d-0588-4a29-a89e-04e5669220d9
                  project_id: be121fa6-0da6-4d65-bb75-6fd56c7dfa53
                decisions:
                  user_decision: Suspicious
                  user_score: 0.71
                  raw_user_score: 0.71
                  fraud_score: 0.78
                user:
                  id: usr_8f2k3m9q
                  phone:
                    scores:
                      phone_risk: -0.62
                    signals:
                      risk: []
                      trust:
                        - phone_ported
                        - phone_low_risk_carrier
                        - phone_trusted_breach
                        - phone_long_breach_history
                        - phone_trusted_online_presence
                        - identity_name_match
                        - identity_email_match
                    data:
                      decision: high_trust
                      phone:
                        e164: '+14155550142'
                        country: US
                        valid: true
                        line_type: mobile
                        disposable: false
                      carrier:
                        name: T-Mobile
                        mcc: '310'
                        mnc: '160'
                      number_age:
                        block_assigned_at: '2004-02-01'
                        block_age_years: 22.8
                        first_seen_at: '2013-10-04'
                      history:
                        ported: true
                        seen_countries:
                          - US
                      breach_intelligence:
                        breach_count: 3
                        breach_list:
                          - source: Adobe
                            breach_date: '2013-10-04'
                            trust_weight: high
                            country: global
                            industry: software
                          - source: Dropbox
                            breach_date: '2016-08-31'
                            trust_weight: moderate
                            country: global
                            industry: software
                          - source: Ticketfly
                            breach_date: '2018-05-31'
                            trust_weight: moderate
                            country: US
                            industry: retail
                      identity_intelligence:
                        match_risk_score: -0.71
                        online_accounts_count: 5
                        online_accounts:
                          - google
                          - apple
                          - amazon
                          - whatsapp
                          - instagram
                        connected_names:
                          - Jordan Ellis
                        connected_emails:
                          - jordan.ellis.2291+deals@gmail.com
                        claim_matches:
                          name: match
                          email: match
                          country: match
                  first_name: Jordan
                  last_name: Ellis
                  username: jordanellis
                  expected_countries:
                    - US
                  group: survey-1234
                  metadata:
                    plan: free
                    signup_source: referral
                  first_seen: '2026-09-14T18:03:27.442Z'
                  last_seen: '2026-11-11T15:42:08.311Z'
                  num_sessions: 3
                  rules:
                    - login-outside-expected-countries
                  lists:
                    - manual_review
                  email:
                    scores:
                      email_risk: 0.38
                      domain: -0.42
                    signals:
                      risk:
                        - email_alias
                        - email_high_number_count
                        - email_too_many_breaches
                      trust:
                        - email_age_greater_than_5_years
                        - email_known_online_history
                        - domain_whois_greater_than_5_years
                    data:
                      email: jordan.ellis.2291+deals@gmail.com
                      username: jordan.ellis.2291+deals
                      normalized: jordanellis2291@gmail.com
                      domain:
                        fqdn: gmail.com
                        apex: gmail.com
                        type: personal
                        users_on_domain: 18234
                  relationships:
                    scores:
                      multiple_accounts: 0.45
                    signals:
                      risk: []
                      trust: []
                    data:
                      num_linked_accounts: 2
                      linked_accounts:
                        - user_id: usr_3n7v1x5c
                          link_score: 0.94
                          match_types:
                            - device
                            - browser
                            - network
                          email: j.ellis.2291@outlook.com
                          phone: null
                          first_name: Jordan
                          last_name: Ellis
                          username: jellis2291
                          expected_countries:
                            - US
                          first_seen: '2026-10-02T21:14:55.108Z'
                          last_seen: '2026-11-10T03:27:41.562Z'
                          lists: []
                          metadata:
                            plan: free
                        - user_id: usr_6q2w8e4r
                          link_score: 0.58
                          match_types:
                            - email
                          email: jordanellis2291@gmail.com
                          phone: '+14155550187'
                          first_name: J
                          last_name: Ellis
                          username: null
                          expected_countries:
                            - US
                          first_seen: '2026-08-21T16:40:09.733Z'
                          last_seen: '2026-11-08T19:02:13.290Z'
                          lists:
                            - manual_review
                          metadata: {}
                  volatility:
                    scores:
                      volatility_risk: 0.35
                    signals:
                      risk:
                        - multiple_countries_7d
                      trust: []
                    data:
                      unique_devices:
                        last_1d: 1
                        last_7d: 2
                      unique_networks:
                        last_1d: 2
                        last_7d: 3
                      countries_seen:
                        - US
                        - MX
                  user_avg_scores:
                    network:
                      network_risk: 0.52
                      proxy: 0.61
                      vpn: 0.04
                      datacenter: 0.01
                      ip_reputation: 0.27
                    device:
                      device_risk: 0.69
                      tampering: 0.55
                      virtualization: 0.41
                      automation: 0.14
                    location:
                      location_spoofing: 0.48
                      impossible_travel: 0.09
                    behavior:
                      behavior_risk: 0.51
                      automation: 0.49
        '400':
          description: Invalid request. See error.code and error.details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                metadata:
                  timestamp: '2026-11-04T12:00:00.000Z'
                  request_id: 3f2b8c1d-6e4a-4b7f-9c2d-8a1e5f6b7c90
                  project_id: 00000000-0000-4000-8000-000000000001
                error:
                  code: invalid_request
                  message: Request validation failed
                  details:
                    - field: user.id
                      message: user.id should not be empty
        '401':
          description: Missing or unknown API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                metadata:
                  timestamp: '2026-11-04T12:00:00.000Z'
                  request_id: 3f2b8c1d-6e4a-4b7f-9c2d-8a1e5f6b7c90
                  project_id: null
                error:
                  code: api_key_not_found
                  message: API Key not found
                  details: []
        '404':
          description: User not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                metadata:
                  timestamp: '2026-11-04T12:00:00.000Z'
                  request_id: 3f2b8c1d-6e4a-4b7f-9c2d-8a1e5f6b7c90
                  project_id: 00000000-0000-4000-8000-000000000001
                error:
                  code: user_not_found
                  message: User not found
                  details: []
        '429':
          description: >-
            Rate limit exceeded. Retry after the seconds in the Retry-After
            header
          headers:
            X-RateLimit-Limit:
              schema:
                type: integer
                description: The project's request limit for the rolling 60-second window
              required: true
            X-RateLimit-Remaining:
              schema:
                type: integer
                minimum: 0
                description: Always 0 on a rate-limited response
              required: true
            Retry-After:
              schema:
                type: integer
                minimum: 1
                description: Seconds to wait before retrying
              required: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                metadata:
                  timestamp: '2026-11-04T12:00:00.000Z'
                  request_id: 3f2b8c1d-6e4a-4b7f-9c2d-8a1e5f6b7c90
                  project_id: 00000000-0000-4000-8000-000000000001
                error:
                  code: rate_limit_exceeded
                  message: >-
                    Current rate limit is 900 requests per minute. Please try
                    again later.
                  details: []
components:
  schemas:
    UserUpdateRequest:
      type: object
      properties:
        id:
          type: string
          description: The user identifier
        email:
          type: string
          description: The email associated with the user
        phone:
          type: object
          properties:
            value:
              type: string
              maxLength: 32
              description: The phone number in E.164 format (e.g. +14155550123)
          required:
            - value
          description: >-
            The phone number on file for the user. Same object as on Predict
            User; mode is only accepted there, so this call runs no phone
            intelligence
        first_name:
          type: string
          maxLength: 256
          description: The user's first name
        last_name:
          type: string
          maxLength: 256
          description: The user's last name
        username:
          type: string
          maxLength: 256
          description: The username associated with the user
        expected_countries:
          type: array
          items:
            type: string
            minLength: 2
            maxLength: 2
          maxItems: 300
          description: >-
            Countries the user is expected to legitimately operate from, as ISO
            3166-1 alpha-2 codes. A non-empty list replaces the stored list; an
            empty or omitted list leaves the stored list unchanged.
        metadata:
          type: object
          properties: {}
          description: Additional metadata about the user
    UserResponse:
      type: object
      properties:
        metadata:
          $ref: '#/components/schemas/Metadata'
        decisions:
          $ref: '#/components/schemas/Decisions'
        user:
          $ref: '#/components/schemas/User'
    ErrorResponse:
      type: object
      properties:
        metadata:
          type: object
          properties:
            timestamp:
              type: string
              format: date-time
              description: When the response was generated
            request_id:
              type: string
              description: ID of the failed request. Quote it to support
            project_id:
              type: string
              nullable: true
              description: >-
                Project of the API key; null when the key is missing or unknown,
                or the route does not exist
        error:
          type: object
          properties:
            code:
              type: string
              description: Stable, machine-readable error code
            message:
              type: string
              description: Human-readable explanation. The text can change; branch on code
            details:
              type: array
              items:
                type: object
                properties:
                  field:
                    type: string
                    nullable: true
                    description: >-
                      Request field the problem is about, e.g. user.id; null
                      when it is not tied to one field
                  message:
                    type: string
                    description: What is wrong with the field
              description: Per-field problems for validation errors; empty otherwise
    Metadata:
      type: object
      properties:
        timestamp:
          type: string
          format: date-time
          description: When the response was generated
        request_id:
          type: string
          description: The ID of the request
        project_id:
          type: string
          description: The ID of the project
    Decisions:
      type: object
      properties:
        user_decision:
          type: string
          description: 'Decision about the user authenticity (Real/Fake). Legacy: decision'
        user_score:
          type: number
          minimum: 0
          maximum: 1
          description: >-
            Overall user risk score, 0 to 1: fraud risk plus multi-accounting
            and automation. Legacy: account_score
          format: float
        raw_user_score:
          type: number
          minimum: 0
          maximum: 1
          description: >-
            User score before your rules run. user_score differs when a rule
            adjusts the score or changes membership of the main_account list
          format: float
        fraud_score:
          type: number
          minimum: 0
          maximum: 1
          description: >-
            Fraud risk of the user, 0 to 1, from network, device, impossible
            travel, device and network volatility and email together. It leaves
            out multi-accounting and automation, which user_score adds on top
          format: float
    User:
      type: object
      properties:
        id:
          type: string
          description: The user identifier
        phone:
          $ref: '#/components/schemas/Phone'
        first_name:
          type: string
          nullable: true
          description: The user's first name; null when not provided. Legacy returns ""
        last_name:
          type: string
          nullable: true
          description: The user's last name; null when not provided. Legacy returns ""
        username:
          type: string
          nullable: true
          description: >-
            The username stored for the user; null when not provided. Legacy
            returns ""
        expected_countries:
          type: array
          items:
            type: string
          description: >-
            Countries the user is expected to operate from (ISO 3166-1 alpha-2
            codes)
        group:
          type: string
          nullable: true
          description: >-
            The group associated with the user; null when not provided (legacy
            returns ""). See [Multi Accounting
            Groups](/integration/advanced/multi-accounting-groups)
        metadata:
          type: object
          properties: {}
          description: >-
            Additional metadata about the user; {} when none was sent. Legacy
            leaves the key out
        first_seen:
          type: string
          nullable: true
          format: date-time
          description: Timestamp when the user was first seen
        last_seen:
          type: string
          nullable: true
          format: date-time
          description: Timestamp when the user was last seen
        num_sessions:
          type: integer
          description: Number of sessions associated with this user
        rules:
          type: array
          items:
            type: string
          description: >-
            Slugs of the user rules that fired, e.g.
            login-outside-expected-countries
        lists:
          type: array
          items:
            type: string
          description: Lists the user belongs to
        email:
          type: object
          properties:
            scores:
              type: object
              properties:
                email_risk:
                  type: number
                  nullable: true
                  minimum: -1
                  maximum: 1
                  description: >-
                    Email risk score from -1 (most trustworthy) to 1 (most
                    risky); null when no email was evaluated. Legacy:
                    email_score
                  format: float
                domain:
                  type: number
                  nullable: true
                  minimum: -1
                  maximum: 1
                  description: >-
                    Risk score of the email domain from -1 (most trustworthy) to
                    1 (most risky); null when no email was evaluated
                  format: float
            signals:
              $ref: '#/components/schemas/Signals'
            data:
              type: object
              properties:
                email:
                  type: string
                  nullable: true
                  description: >-
                    Email address; null when the user has no email. Legacy
                    returns ""
                username:
                  type: string
                  nullable: true
                  description: >-
                    The part of the email before the @; null when the user has
                    no email
                normalized:
                  type: string
                  nullable: true
                  description: >-
                    The email with provider aliases removed (dots and +tags on
                    providers that ignore them); null when the user has no email
                domain:
                  type: object
                  properties:
                    fqdn:
                      type: string
                      nullable: true
                      description: >-
                        Full domain of the email; null when the user has no
                        email
                    apex:
                      type: string
                      nullable: true
                      description: >-
                        Registrable (apex) domain of the email; null when the
                        user has no email
                    type:
                      type: string
                      nullable: true
                      enum:
                        - relay
                        - personal
                        - disposable
                        - business
                        - government
                        - education
                        - invalid
                        - not_active
                      description: >-
                        The type of domain; null when the user has no email. See
                        [Domain Types](/signals-scores/email#domain-types).
                        Legacy: domain_type
                    users_on_domain:
                      type: integer
                      nullable: true
                      description: >-
                        Number of users from the same apex domain seen in your
                        project, capped at 1000; null when the user has no
                        email. Legacy: num_account_from_domain
        relationships:
          $ref: '#/components/schemas/Relationships'
        volatility:
          type: object
          properties:
            scores:
              type: object
              properties:
                volatility_risk:
                  type: number
                  nullable: true
                  minimum: 0
                  maximum: 1
                  description: >-
                    How fast the user changes devices and networks, 0 to 1: the
                    larger of the unique-devices and unique-networks scores,
                    each built from the 1-day and 7-day counts. 0 at one device
                    and one network; null when the counts are unavailable
                  format: float
            signals:
              allOf:
                - $ref: '#/components/schemas/Signals'
                - description: Volatility signals
            data:
              type: object
              properties:
                unique_devices:
                  type: object
                  properties:
                    last_1d:
                      type: integer
                      description: 'Unique devices in the last day. Legacy: 1_day'
                    last_7d:
                      type: integer
                      description: 'Unique devices in the last 7 days. Legacy: 7_day'
                unique_networks:
                  type: object
                  properties:
                    last_1d:
                      type: integer
                      description: 'Unique networks in the last day. Legacy: 1_day'
                    last_7d:
                      type: integer
                      description: 'Unique networks in the last 7 days. Legacy: 7_day'
                countries_seen:
                  type: array
                  items:
                    type: string
                  description: 'Countries the user has been seen from. Legacy: countries'
        user_avg_scores:
          type: object
          properties:
            network:
              type: object
              properties:
                network_risk:
                  type: number
                  minimum: 0
                  maximum: 1
                  description: Average network risk score across sessions
                  format: float
                proxy:
                  type: number
                  minimum: 0
                  maximum: 1
                  description: Average proxy score across sessions
                  format: float
                vpn:
                  type: number
                  minimum: 0
                  maximum: 1
                  description: Average VPN score across sessions
                  format: float
                datacenter:
                  type: number
                  minimum: 0
                  maximum: 1
                  description: Average datacenter score across sessions
                  format: float
                ip_reputation:
                  type: number
                  nullable: true
                  minimum: -1
                  maximum: 1
                  description: >-
                    Average IP reputation across sessions, -1 (trusted) to 1
                    (risky); null when no session has an IP reputation score
                  format: float
            device:
              type: object
              properties:
                device_risk:
                  type: number
                  minimum: 0
                  maximum: 1
                  description: Average device risk score across sessions
                  format: float
                tampering:
                  type: number
                  nullable: true
                  minimum: 0
                  maximum: 1
                  description: >-
                    Average tampering score over the sessions that have one;
                    null when none do
                  format: float
                virtualization:
                  type: number
                  nullable: true
                  minimum: 0
                  maximum: 1
                  description: >-
                    Average virtualization score over the sessions that have
                    one; null when none do
                  format: float
                automation:
                  type: number
                  nullable: true
                  minimum: 0
                  maximum: 1
                  description: >-
                    Average device automation score over the sessions that have
                    one; null when none do
                  format: float
            location:
              type: object
              properties:
                location_spoofing:
                  type: number
                  minimum: 0
                  maximum: 1
                  description: Average location spoofing score across sessions
                  format: float
                impossible_travel:
                  type: number
                  minimum: 0
                  maximum: 1
                  description: Average impossible travel score across sessions
                  format: float
            behavior:
              type: object
              properties:
                behavior_risk:
                  type: number
                  nullable: true
                  minimum: 0
                  maximum: 1
                  description: >-
                    Average behavior_risk over the sessions that have one; null
                    when none do (app-only users, or no behavioral data sent)
                  format: float
                automation:
                  type: number
                  nullable: true
                  minimum: 0
                  maximum: 1
                  description: >-
                    Average behavior automation score over the sessions that
                    have one; null when none do
                  format: float
          description: >-
            Per-session scores averaged over the user. Legacy:
            risk_signal_average
    Phone:
      type: object
      properties:
        scores:
          type: object
          properties:
            phone_risk:
              type: number
              nullable: true
              minimum: -1
              maximum: 1
              description: >-
                Phone risk score from -1 (most trustworthy) to 1 (most risky),
                from the finished pro run when there is one; null when phone
                intelligence was not requested
              format: float
        signals:
          type: object
          properties:
            risk:
              type: array
              items:
                type: string
              description: >-
                Phone risk signals that fired. See [Risk
                Signals](/phone-intelligence/signals#risk-signals) for
                descriptions.
            trust:
              type: array
              items:
                type: string
              description: >-
                Phone trust signals that fired. See [Trust
                Signals](/phone-intelligence/signals#trust-signals) for
                descriptions. An empty list means none fired
        data:
          type: object
          properties:
            decision:
              type: string
              nullable: true
              enum:
                - high_trust
                - trusted
                - moderate
                - risky
                - high_risk
              description: >-
                Risk decision for phone_risk; null when phone intelligence was
                not requested
            phone:
              $ref: '#/components/schemas/PhoneNumber'
            carrier:
              $ref: '#/components/schemas/PhoneCarrier'
            number_age:
              $ref: '#/components/schemas/PhoneNumberAge'
            history:
              $ref: '#/components/schemas/PhoneHistory'
            breach_intelligence:
              $ref: '#/components/schemas/PhoneBreachIntelligence'
            identity_intelligence:
              $ref: '#/components/schemas/PhoneIdentityIntelligence'
      description: >-
        Phone intelligence for user.phone. Always present; without a mode only
        data.phone.e164 and data.phone.valid are set. data matches data.result
        of the phone.intelligence.completed webhook
    Signals:
      type: object
      properties:
        risk:
          type: array
          items:
            type: string
          description: >-
            Risk signals that fired. See [Risk Signal
            Details](/signals-scores/risk-signals) for descriptions.
        trust:
          type: array
          items:
            type: string
          description: >-
            Trust signals that fired. Blocks return them as they ship; an empty
            list means none fired
    Relationships:
      type: object
      properties:
        scores:
          type: object
          properties:
            multiple_accounts:
              type: number
              minimum: 0
              maximum: 1
              description: >-
                How likely the user is one of several users run by the same
                person. Legacy: multiple_accounts
              format: float
        signals:
          allOf:
            - $ref: '#/components/schemas/Signals'
            - description: Relationship signals
        data:
          type: object
          properties:
            num_linked_accounts:
              type: integer
              description: 'Number of users linked to this user. Legacy: accounts_linked'
            linked_accounts:
              type: array
              items:
                $ref: '#/components/schemas/LinkedAccount'
              description: >-
                The linked users, sorted by link_score from highest to lowest.
                At most 100 are returned. Legacy: linked_accounts
    PhoneNumber:
      type: object
      properties:
        e164:
          type: string
          nullable: true
          description: The number in E.164 format; null when it could not be parsed
        country:
          type: string
          nullable: true
          description: The number's country (ISO 3166-1 alpha-2)
        valid:
          type: boolean
          nullable: true
          description: >-
            Whether the number is a valid, dialable number; false when it could
            not be parsed. Checked on every call that sends a phone
        line_type:
          type: string
          nullable: true
          enum:
            - mobile
            - landline
            - fixed_voip
            - non_fixed_voip
            - special
          description: The line type; null when it is not known
        disposable:
          type: boolean
          nullable: true
          description: Whether the number is on a public receive-SMS list
      description: The number. Only e164 and valid are set when no phone mode was sent
    PhoneCarrier:
      type: object
      nullable: true
      properties:
        name:
          type: string
          nullable: true
          description: The carrier the number is on, as a brand name
        mcc:
          type: string
          nullable: true
          description: Mobile country code
        mnc:
          type: string
          nullable: true
          description: Mobile network code
      description: The carrier; null when no phone mode was sent
    PhoneNumberAge:
      type: object
      nullable: true
      properties:
        block_assigned_at:
          type: string
          nullable: true
          format: date
          description: >-
            Date the number's block was assigned to a carrier, from public
            numbering plans; null when the plan has no date
        block_age_years:
          type: number
          nullable: true
          description: Years since the block was assigned, to one decimal place
        first_seen_at:
          type: string
          nullable: true
          format: date
          description: >-
            Date of the earliest breach the number appears in; null in standard
            mode
      description: Number age; null when no phone mode was sent
    PhoneHistory:
      type: object
      nullable: true
      properties:
        ported:
          type: boolean
          nullable: true
          description: Whether the number has been ported; null when unknown
        seen_countries:
          type: array
          items:
            type: string
          description: Countries the number has been seen in (ISO 3166-1 alpha-2)
      description: Porting history; null until a pro run (phone mode "pro") has finished
    PhoneBreachIntelligence:
      type: object
      nullable: true
      properties:
        breach_count:
          type: integer
          description: Number of data breaches the number appears in
        breach_list:
          type: array
          items:
            type: object
            properties:
              source:
                type: string
                description: Name of the breach
              breach_date:
                type: string
                nullable: true
                format: date
                description: Date of the breach; null when unknown
              trust_weight:
                type: string
                enum:
                  - high
                  - moderate
                  - low
                description: How much the breach counts toward trust
              country:
                type: string
                nullable: true
                description: >-
                  ISO2 when about half or more of the breached people are in one
                  country, otherwise "global"
              industry:
                type: string
                nullable: true
                description: Industry of the breached service
          description: The breaches, oldest first
      description: >-
        Data breaches the number appears in; null until a pro run (phone mode
        "pro") has finished
    PhoneIdentityIntelligence:
      type: object
      nullable: true
      properties:
        match_risk_score:
          type: number
          nullable: true
          minimum: -1
          maximum: 1
          description: >-
            Identity match risk from -1 (verified match) to 1 (no identity
            footprint); null when no identity data was available
          format: float
        online_accounts_count:
          type: integer
          description: Number of online platforms with an account on the number
        online_accounts:
          type: array
          items:
            type: string
          description: Platforms with an account on the number
        connected_names:
          type: array
          items:
            type: string
          description: Names linked to the number
        connected_emails:
          type: array
          items:
            type: string
          description: Emails linked to the number
        claim_matches:
          type: object
          properties:
            name:
              type: string
              enum:
                - match
                - partial_match
                - no_match
                - skipped
              description: How the user's name matches the names linked to the number
            email:
              type: string
              enum:
                - match
                - partial_match
                - no_match
                - skipped
              description: How the user's email matches the emails linked to the number
            country:
              type: string
              enum:
                - match
                - no_match
                - skipped
              description: How the session IP country matches the number's country
      description: >-
        Online accounts and identity linked to the number; null until a pro run
        (phone mode "pro") has finished
    LinkedAccount:
      type: object
      properties:
        user_id:
          type: string
          description: The ID of the linked user
        link_score:
          type: number
          minimum: 0
          maximum: 1
          description: 'Confidence score of the link between users. Legacy: score'
          format: float
        match_types:
          type: array
          items:
            type: string
          description: >-
            Types of matches that linked these users (e.g. browser, device,
            network, email, phone, username, name). Legacy: match_type
        email:
          type: string
          nullable: true
          description: >-
            Email associated with the linked user; null when none. Legacy
            returns ""
        phone:
          type: string
          nullable: true
          description: >-
            Phone number associated with the linked user; null when none. Legacy
            returns ""
        first_name:
          type: string
          nullable: true
          description: >-
            First name associated with the linked user; null when none. Legacy
            returns ""
        last_name:
          type: string
          nullable: true
          description: >-
            Last name associated with the linked user; null when none. Legacy
            returns ""
        username:
          type: string
          nullable: true
          description: >-
            Username associated with the linked user; null when none. Legacy
            returns ""
        expected_countries:
          type: array
          items:
            type: string
          description: >-
            Expected countries declared for the linked user (ISO 3166-1 alpha-2
            codes)
        first_seen:
          type: string
          nullable: true
          format: date-time
          description: Timestamp when the linked user was first seen
        last_seen:
          type: string
          nullable: true
          format: date-time
          description: Timestamp when the linked user was last seen
        lists:
          type: array
          items:
            type: string
          description: Lists the linked user belongs to
        metadata:
          type: object
          properties: {}
          description: Additional metadata about the linked user
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````

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