---
title: "Webhook dos resultados de monitoramento"
method: POST
path: "monitoring_search_result_event"
tags: ["Monitoramento"]
---

# Webhook dos resultados de monitoramento

`POST monitoring_search_result_event` (webhook)

Webhook dos resultados de monitoramento enviado
após concluir todas as consultas de uma assinatura

## Payload

- MonitoringSearchResultEventModel
  - `id` string, uuid, required — identificador único do evento
  - `status` 'pending' | 'sent' | 'failed', required
  - `event` 'vehicle_not_found' | 'vehicle_debt_not_found' | 'vehicle_debt_found' | 'vehicle_debt_search_error' | 'vehicle_enriched_partially' | 'vehicle_debt_unavailable' | 'vehicle_debt_batch_search_done' | 'webhook_validation' | 'payment_order_discount_created' | 'payment_order_discount_applied' | 'payment_order_discount_deleted' | 'payment_order_created' | 'payment_order_item_created' | 'payment_order_item_updated' | 'payment_order_item_deleted' | 'payment_order_closed' | 'payment_order_updated' | 'payment_order_paid' | 'payment_order_payment_failed' | 'payment_order_processing' | 'payment_order_canceled' | 'payment_order_cancellation_requested' | 'payment_order_checkout_created' | 'payment_order_checkout_canceled' | 'payment_order_checkout_closed' | 'payment_order_completed' | 'payment_order_failed' | 'payment_order_chargedback' | 'autoradar_vehicle_debt_found' | 'autoradar_vehicle_debt_not_found' | 'autoradar_vehicle_due_debts' | 'autoradar_vehicle_update_required' | 'autoradar_subscription_activated' | 'autoradar_subscription_activated_failed' | 'autoradar_subscription_deactivated' | 'autoradar_subscription_deactivated_failed' | 'autoradar_vehicle_debt_search_initiated_error' | 'payment_recurrence_plan_created' | 'payment_recurrence_plan_updated' | 'payment_recurrence_plan_canceled' | 'payment_recurrence_plan_item_created' | 'payment_recurrence_plan_item_updated' | 'payment_recurrence_plan_item_canceled' | 'payment_recurrence_subscription_created' | 'payment_recurrence_subscription_updated' | 'payment_recurrence_subscription_canceled' | 'payment_recurrence_subscriptionitem_created' | 'payment_recurrence_subscriptionitem_updated' | 'payment_recurrence_subscriptionitem_canceled' | 'payment_recurrence_invoice_created' | 'payment_recurrence_invoice_paid' | 'payment_recurrence_invoice_payment_failed' | 'payment_recurrence_invoice_canceled' | 'documents_crlv_request' | 'documents_crlv_issued' | 'documents_crlv_unavailable' | 'documents_crlv_incorrect_data' | 'documents_crlv_request_failed' | 'documents_crlv_canceled_protocol' | 'document_order_payment_create_success' | 'document_order_payment_create_failed' | 'document_order_payment_updated' | 'document_order_crlv_success' | 'document_order_crlv_failed' | 'document_order_crlv_pending' | 'document_order_onc_success' | 'monitoring_search_result_event' | 'monitoring_create_subscription_event' | 'monitoring_create_subscription_event_failed' | 'monitoring_deactivate_subscription_event' | 'monitoring_deactivate_subscription_event_failed' | 'monitoring_need_update_subscription_event' | 'monitoring_need_update_subscription_event_failed'
  - `attempts` AttemptDTO[] — Resposta do servidor recebida pelo webhook
    - `attempt` integer, required — Número da tentativa
    - `created_at` string, date-time, required — Data da tentativa
    - `status` 'pending' | 'sent' | 'failed'
    - `server_response` ServerResponseDTO, required
      - `http_status_code` integer — Status http da resposta
      - `headers` object — Cabeçalho da resposta
      - `body` object — Corpo de resposta
  - `data` SearchResultEventData, required
    - `subscription_id` string, uuid, required
    - `contact` ContactEventData, required
      - `name` string, nullable
      - `email` string, nullable
      - `phone` string, nullable
    - `external_id` string, nullable
    - `drivers` SearchResultDriverEventData[]
      - `driver_name` string, required
      - `uf` 'AC' | 'AL' | 'AP' | 'AM' | 'BA' | 'CE' | 'DF' | 'ES' | 'GO' | 'MA' | 'MT' | 'MS' | 'MG' | 'PA' | 'PB' | 'PR' | 'PE' | 'PI' | 'RJ' | 'RN' | 'RS' | 'RO' | 'RR' | 'SC' | 'SP' | 'SE' | 'TO', required
      - `cnh` string, required
      - `has_points` boolean, required
      - `has_new_points` boolean, required
      - `category` string, nullable, required
      - `points` integer, nullable, required
      - `last_points` integer, nullable, required
      - `points_limit` integer, nullable, required
      - `expiration_date` string, date, nullable, required
      - `fines` DriverFines[]
        - `legal_framework` string, nullable, required
        - `points` integer, nullable, required
        - `local` string, nullable, required
        - `infringement` string, nullable, required
        - `license_plate` string, nullable, required
        - `price` string, nullable, required
        - `infringement_date` string, nullable, required
        - `payment_status` string, nullable, required
      - `is_expired` boolean
      - `sucess` boolean
    - `vehicles` SearchResultVehicleEventData[]
      - `license_plate` string, required
      - `have_debts` boolean, required
      - `state` 'AC' | 'AL' | 'AP' | 'AM' | 'BA' | 'CE' | 'DF' | 'ES' | 'GO' | 'MA' | 'MT' | 'MS' | 'MG' | 'PA' | 'PB' | 'PR' | 'PE' | 'PI' | 'RJ' | 'RN' | 'RS' | 'RO' | 'RR' | 'SC' | 'SP' | 'SE' | 'TO', required
      - `debts` VehicleDebt[]
        - `id` string, required
        - `type` string, required
        - `amount` number, required
        - `year` string, nullable
        - `due_date` string, date, nullable
        - `date` string, date, nullable
        - `description` string, nullable
      - `owner_document` string, nullable, required
      - `success` boolean
    - `vehicle_history` SearchResultVehicleHistoryEventData[]
      - `success` boolean
      - `manufacture_year` integer, nullable
      - `model_year` integer, nullable
      - `cmc` number, nullable
      - `cmt` number, nullable
      - `body_work_type_code` string, nullable
      - `body_work_type_description` string, nullable
      - `category_code` string, nullable
      - `category_description` string, nullable
      - `chassis_series` string, nullable
      - `displacement` integer, nullable
      - `fuel_type_code` string, nullable
      - `fuel_type_description` string, nullable
      - `color_code` string, nullable
      - `color_description` string, nullable
      - `species_code` string, nullable
      - `species_description` string, nullable
      - `has_alarm` boolean, nullable
      - `has_theft_or_robbery` boolean, nullable
      - `seating_capacity` integer, nullable
      - `model_code` string, nullable
      - `model_description` string, nullable
      - `registration_city_code` string, nullable
      - `registration_city_description` string, nullable
      - `number_of_axles` integer, nullable
      - `gross_weight` number, nullable
      - `power` integer, nullable
      - `status` string, nullable
      - `vehicle_type_code` string, nullable
      - `vehicle_type_description` string, nullable
      - `registration_state` string, nullable
      - `expiry_date` string, date-time, nullable
      - `is_under_sales_notification` boolean, nullable
      - `is_auctioned` boolean, nullable
      - `has_renainf_fine` boolean, nullable
      - `has_emission_pending` boolean, nullable
      - `has_manufacturer_recall` boolean, nullable
      - `has_renajud_restriction` boolean, nullable
      - `tax_restriction_indicator` string, nullable
      - `tax_restriction_description` string, nullable
      - `origin` string, nullable
      - `crlv_issue_date` string, date-time, nullable
      - `crlv_year` integer, nullable
      - `license_plate` string, nullable
      - `restrictions` Restriction[]
        - `code` string, nullable
        - `description` string, nullable
    - `report_url` string, nullable
  - `created_at` string, date-time, required — Data da criação do evento
  - `webhook` WebhookShortModel
    - `id` string, required — Id único do webhook
    - `resource` 'vehicle_debt' | 'vehicle_debt_batch' | 'checkout' | 'autoradar' | 'payment_recurrence' | 'documents' | 'monitoring' | 'document_order'
    - `version` string — Versão do webhook

## Acknowledgement `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/usezapay/apis/zapi.md) · [All operations](https://skmtc.net/usezapay/apis/zapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usezapay/zapi/revisions/50c96157fff4/schema)
