Virlo Webhooks API
Push notifications when runs, lookups and tracking cycles finish (v1)
Push notifications when runs, lookups and tracking cycles finish (v1)
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/virlo-ai:virlo-ai-webhooks-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Virlo Public Webhooks API
description: 'Short-form social intelligence across TikTok, YouTube Shorts, Instagram Reels and Meta ads: Content Research Agents, Topic Trends (`/v1/topic-trends`: what people are talking about, by region, each topic with a category), Content Trends (`/v1/content-trends`: video formats creators are copying), hashtags, sounds, hooks, creator lookups and tracking. Send your API key as `Authorization: Bearer virlo_tkn_...`. Guides and pricing: https://dev.virlo.ai/docs'
version: 1.0.0
contact: {}
servers:
- url: https://api.virlo.ai
description: Production
tags:
- name: Webhooks
description: Push notifications when runs, lookups and tracking cycles finish (v1)
paths:
/v1/webhooks:
post:
operationId: V1WebhooksController_create
parameters: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateWebhookDto'
responses:
'201':
description: Webhook endpoint created
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookEndpointDto'
'400':
description: Invalid request
'401':
description: Missing or invalid API key (`missing_api_key` / `invalid_api_key`)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: Active endpoint quota exceeded
'429':
description: Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitErrorResponse'
security:
- api-key: []
summary: Create a webhook endpoint (team-scoped)
tags:
- Webhooks
get:
operationId: V1WebhooksController_list
parameters: []
responses:
'200':
description: Webhook endpoints
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/WebhookEndpointDto'
'401':
description: Missing or invalid API key (`missing_api_key` / `invalid_api_key`)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitErrorResponse'
security:
- api-key: []
summary: List webhook endpoints for this team
tags:
- Webhooks
/v1/webhooks/{id}:
get:
operationId: V1WebhooksController_get
parameters:
- name: id
required: true
in: path
description: Webhook endpoint ID (UUID) returned when it was created.
schema:
type: string
responses:
'200':
description: Webhook endpoint
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookEndpointDto'
'401':
description: Missing or invalid API key (`missing_api_key` / `invalid_api_key`)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Webhook not found
'429':
description: Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitErrorResponse'
security:
- api-key: []
summary: Get a webhook endpoint by id
tags:
- Webhooks
patch:
operationId: V1WebhooksController_update
parameters:
- name: id
required: true
in: path
description: Webhook endpoint ID (UUID) returned when it was created.
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateWebhookDto'
responses:
'200':
description: Webhook endpoint updated
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookEndpointDto'
'401':
description: Missing or invalid API key (`missing_api_key` / `invalid_api_key`)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Webhook not found
'429':
description: Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitErrorResponse'
security:
- api-key: []
summary: Update a webhook endpoint
tags:
- Webhooks
delete:
operationId: V1WebhooksController_remove
parameters:
- name: id
required: true
in: path
description: Webhook endpoint ID (UUID) returned when it was created.
schema:
type: string
responses:
'204':
description: Webhook soft-deleted
'401':
description: Missing or invalid API key (`missing_api_key` / `invalid_api_key`)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Webhook not found
'429':
description: Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitErrorResponse'
security:
- api-key: []
summary: Soft-delete a webhook endpoint (sets is_active=false)
tags:
- Webhooks
/v1/webhooks/{id}/reenable:
post:
operationId: V1WebhooksController_reenable
parameters:
- name: id
required: true
in: path
description: Webhook endpoint ID (UUID) returned when it was created.
schema:
type: string
responses:
'200':
description: Webhook endpoint re-enabled
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookEndpointDto'
'401':
description: Missing or invalid API key (`missing_api_key` / `invalid_api_key`)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Webhook not found
'429':
description: Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitErrorResponse'
security:
- api-key: []
summary: Re-enable an auto-disabled endpoint
tags:
- Webhooks
/v1/webhooks/{id}/test:
post:
operationId: V1WebhooksController_sendTest
parameters:
- name: id
required: true
in: path
description: Webhook endpoint ID (UUID) returned when it was created.
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/TestWebhookDto'
responses:
'202':
description: Test delivery queued
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookTestQueuedDto'
'401':
description: Missing or invalid API key (`missing_api_key` / `invalid_api_key`)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Webhook not found
'429':
description: Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitErrorResponse'
security:
- api-key: []
summary: Queue a synthetic test event to this endpoint
tags:
- Webhooks
/v1/webhooks/{id}/deliveries:
get:
operationId: V1WebhooksController_listDeliveries
parameters:
- name: id
required: true
in: path
description: Webhook endpoint ID (UUID) returned when it was created.
schema:
type: string
- name: cursor
required: false
in: query
description: 'Pagination cursor: the `next_cursor` from the previous page (an ISO timestamp).'
schema:
type: string
- name: limit
required: false
in: query
description: Deliveries to return (1-100, default 50). Out-of-range values are clamped.
schema:
example: 50
type: number
- name: event_type
required: false
in: query
description: Only deliveries of this event type.
schema:
type: string
- name: status
required: false
in: query
description: Only deliveries in this status.
schema:
enum:
- pending
- delivering
- succeeded
- failed
- dead
type: string
responses:
'200':
description: Delivery log
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookDeliveriesListDto'
'401':
description: Missing or invalid API key (`missing_api_key` / `invalid_api_key`)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Webhook not found
'429':
description: Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitErrorResponse'
security:
- api-key: []
summary: List recent deliveries for an endpoint
tags:
- Webhooks
/v1/webhooks/deliveries/{deliveryId}/retry:
post:
operationId: V1WebhooksController_retryDelivery
parameters:
- name: deliveryId
required: true
in: path
description: Delivery ID (UUID) from GET /v1/webhooks/:id/deliveries.
schema:
type: string
responses:
'202':
description: Retry queued
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookRetryQueuedDto'
'400':
description: Delivery not retryable
'401':
description: Missing or invalid API key (`missing_api_key` / `invalid_api_key`)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Delivery not found
'429':
description: Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitErrorResponse'
security:
- api-key: []
summary: Manually re-queue a failed/dead delivery
tags:
- Webhooks
components:
schemas:
WebhookTestQueuedDto:
type: object
properties:
delivery_id:
type: string
format: uuid
event_type:
type: string
example: orbit.run.completed
required:
- delivery_id
- event_type
CreateWebhookDto:
type: object
properties:
url:
type: string
example: https://hooks.example.com/virlo
description: HTTPS destination URL
description:
type: string
example: Production webhook
enabled_events:
type: array
description: Event types this endpoint should receive
example:
- orbit.run.completed
- comet.run.completed
items:
type: string
enum:
- content_research_agent.run.completed
- content_research_agent.event.detected
- comet.run.completed
- orbit.run.completed
- satellite.lookup.completed
- trends.daily.completed
- trends.region.completed
- tracking.cycle.completed
- tracking.outlier_video.detected
- tracking.paused
- audience.snapshot.completed
headers:
type: object
description: 'Up to 5 custom headers to include on every delivery (e.g. Authorization: Bearer …)'
example:
X-MyApp-Token: abc123
additionalProperties: true
is_active:
type: boolean
default: true
required:
- url
- enabled_events
WebhookDeliveriesListDto:
type: object
properties:
endpoint_id:
type: string
format: uuid
deliveries:
type: array
items:
$ref: '#/components/schemas/WebhookDeliveryDto'
limit:
type: number
next_cursor:
type:
- string
- 'null'
description: Pass as `cursor` for the next page (ISO timestamp).
required:
- endpoint_id
- deliveries
- limit
ErrorResponse:
type: object
required:
- statusCode
- code
- error
- message
properties:
statusCode:
type: integer
example: 401
code:
type: string
description: Stable machine-readable error code. Branch on this, never on `message`.
enum:
- validation_error
- invalid_date_range
- unknown_region
- unknown_event_type
- unsupported_platform
- invalid_cursor
- cursor_too_long
- creator_login_required
- creator_not_found
- missing_api_key
- invalid_api_key
- insufficient_credits
- forbidden
- owner_only
- not_found
- conflict
- no_team
- rate_limit_exceeded
- library_quota
- internal_error
- upstream_error
- service_unavailable
- top_up_unavailable
- request_timeout
example: invalid_api_key
error:
type: string
example: Unauthorized
message:
description: Human-readable explanation (an array of messages for validation errors). Wording may change.
oneOf:
- type: string
- type: array
items:
type: string
example: Invalid or inactive API key
TestWebhookDto:
type: object
properties:
event_type:
type: string
description: Event type to simulate. Defaults to orbit.run.completed.
enum:
- content_research_agent.run.completed
- content_research_agent.event.detected
- comet.run.completed
- orbit.run.completed
- satellite.lookup.completed
- trends.daily.completed
- trends.region.completed
- tracking.cycle.completed
- tracking.outlier_video.detected
- tracking.paused
- audience.snapshot.completed
example: orbit.run.completed
WebhookRetryQueuedDto:
type: object
properties:
queued:
type: boolean
example: true
required:
- queued
RateLimitErrorResponse:
allOf:
- $ref: '#/components/schemas/ErrorResponse'
- type: object
properties:
limit:
type: integer
description: Requests allowed in the window.
remaining:
type: integer
description: Requests left in the window.
reset_at:
type: integer
description: Unix time (seconds) the window resets.
reset_at_formatted:
type: string
description: reset_at as a readable UTC time.
retry_after:
type: integer
description: Seconds to wait before retrying.
resetAt:
type: integer
deprecated: true
description: Deprecated alias of reset_at.
resetAtFormatted:
type: string
deprecated: true
description: Deprecated alias of reset_at_formatted.
retryAfter:
type: integer
deprecated: true
description: Deprecated alias of retry_after.
WebhookEndpointDto:
type: object
properties:
id:
type: string
format: uuid
team_id:
type: string
format: uuid
url:
type: string
example: https://hooks.example.com/virlo
description:
type:
- string
- 'null'
enabled_events:
type: array
example:
- content_research_agent.run.completed
items:
type: string
enum:
- content_research_agent.run.completed
- content_research_agent.event.detected
- comet.run.completed
- orbit.run.completed
- satellite.lookup.completed
- trends.daily.completed
- trends.region.completed
- tracking.cycle.completed
- tracking.outlier_video.detected
- tracking.paused
- audience.snapshot.completed
headers:
type: object
description: Custom headers included on every delivery (secrets redacted in docs examples).
example: {}
additionalProperties: true
is_active:
type: boolean
status:
type: string
enum:
- active
- inactive
- disabled_by_system
description: 'Effective status: `inactive` when soft-deleted (`is_active=false`), `disabled_by_system` when the circuit breaker tripped, otherwise `active`.'
consecutive_failures:
type: number
example: 0
last_success_at:
type:
- string
- 'null'
last_failure_at:
type:
- string
- 'null'
created_by:
type:
- string
- 'null'
format: uuid
created_at:
type: string
updated_at:
type: string
required:
- id
- team_id
- url
- enabled_events
- is_active
- status
- consecutive_failures
- created_at
- updated_at
UpdateWebhookDto:
type: object
properties:
url:
type: string
description:
type: string
enabled_events:
type: array
description: Event types this endpoint should receive. Replaces the whole list.
items:
type: string
enum:
- content_research_agent.run.completed
- content_research_agent.event.detected
- comet.run.completed
- orbit.run.completed
- satellite.lookup.completed
- trends.daily.completed
- trends.region.completed
- tracking.cycle.completed
- tracking.outlier_video.detected
- tracking.paused
- audience.snapshot.completed
headers:
type: object
additionalProperties: true
is_active:
type: boolean
WebhookDeliveryDto:
type: object
properties:
id:
type: string
format: uuid
endpoint_id:
type: string
format: uuid
team_id:
type:
- string
- 'null'
format: uuid
event_type:
type: string
source_run_id:
type:
- string
- 'null'
source_table:
type:
- string
- 'null'
payload:
type: object
additionalProperties: true
payload_size_bytes:
type: number
status:
type: string
enum:
- pending
- delivering
- succeeded
- failed
- dead
attempt_count:
type: number
max_attempts:
type: number
next_attempt_at:
type:
- string
- 'null'
last_http_status:
type:
- number
- 'null'
last_error:
type:
- string
- 'null'
created_at:
type: string
updated_at:
type:
- string
- 'null'
required:
- id
- endpoint_id
- event_type
- status
- attempt_count
- max_attempts
- created_at
securitySchemes:
api-key:
scheme: bearer
bearerFormat: API Key
type: http
name: Authorization
description: 'Enter your customer API key (format: virlo_tkn_xxxxx)'
in: header