How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Vic.ai Webhook Subscriptions API

Webhook subscriptions control which events your system receives and wherethey are delivered. Each company may have one V0 subscription or multipleV2 subscriptions.You can subscribe to all events or a specific subset. If you need to updateyour subscription to receive all events after trimming it down, pass`"events":["all"]` -- when using `all`, it must be set by itself.## Partner Onboarding FlowIntegration partners can programmatically provision new companies andconfigure webhook delivery using the V2 API:1. **Create a company** — `POST /v2/companies` with the company's name, country code, and billing timezone. The new company is automatically linked to your OAuth client, inheriting the organization of your primary company (or specify `organization_id` explicitly).2. **Create webhook subscriptions** — `POST /v2/companies/{company_id}/subscriptions` with your callback URL and the events you want to receive.3. **Manage subscriptions** — use `GET`, `PUT`, or `DELETE` on `/v2/companies/{company_id}/subscriptions/{id}` as needed.

Vic.ai Webhook Subscriptions API is one of 33 APIs that Vic.ai publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Webhook Subscriptions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 8 operations across 3 paths, and defines 101 schemas. It is described by OpenAPI 3.1.0, at version v10.40.4.

Requests are made against 3 base URLs: https://api.no.stage.vic.ai, https://api.us.vic.ai, https://api.no.vic.ai.

8 operations 3 paths 101 schemas 2 DELETE3 GET1 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
v10.40.4
Base URL
https://api.us.vic.ai
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Vic.ai Webhook Subscriptions API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (BearerAuth). By default, every request must be authenticated.

Paths & Operations 8

Across 3 paths, the API surfaces 8 operations — 2 DELETE, 3 GET, 1 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Webhook Subscriptions 8

Webhook subscriptions control which events your system receives and where they are delivered. Each company may have one V0 subscription or multiple V2 subscriptions. You can subsc…

GET
/v0/subscription
Get current V0 webhook subscription
getSubscription → 2004294XX
PUT
/v0/subscription
Create new V0 webhook subscription
subscribe body → 2014294XX
DELETE
/v0/subscription
Delete V0 webhook subscription
unsubscribe → 2014294XX
GET
/v2/companies/{company_id}/subscriptions
List webhook subscriptions
listSubscriptions 2 params → 2004XX
POST
/v2/companies/{company_id}/subscriptions
Create a webhook subscription
createSubscription 1 param body → 2014XX
GET
/v2/companies/{company_id}/subscriptions/{id}
Get a webhook subscription
getSubscriptionById 2 params → 2004044XX
PUT
/v2/companies/{company_id}/subscriptions/{id}
Update a webhook subscription
updateSubscription 2 params body → 2004044XX
DELETE
/v2/companies/{company_id}/subscriptions/{id}
Delete a webhook subscription
deleteSubscription 2 params → 2044044XX

Schemas 101

The contract defines 101 schemas that model the data the API accepts and returns. The most detailed are Invoice (57 properties), InvoiceLineItem (32 properties), Vendor (25 properties), Payment (25 properties). Each schema is shown below with its type and property counts.

PurchaseOrderRequestor
object
The person or entity who requested the purchase order. Resolved to a user by email first, then by full name. If the name matches more than one user in the comp…
2 properties
VendorError
Data structure for describing errors when posting a vendor to an ERP. Use a string to describe a single error that applies to the entire vendor object, or desc…
NonNegativeMonetaryValue
string
The monetary value as a string. A float should not be used. The api will accept a float and it will be transformed into a monetary value, but for best results…
InvoiceLineItemChild
object
A child line item within a grouped invoice line item. Contains a subset of fields from the original line item before merging.
12 properties
InvoiceStatus
string
Contact the support to enable the APPROVED value.
PaymentInfoTermUnit
string
The payment term units supported.
TaxCode
object
4 properties
PurchaseOrder
object
18 properties 4 required
VendorConfirm
object
2 properties 2 required
ExternalData
object
A free form json object that is stored with the record.
InvoiceRestoredEvent
object
4 properties 4 required
PurchaseOrderScheduleLine
object
A schedule line associated with a purchase order line item.
11 properties 1 required
PurchaseOrderType
string
This has been deprecated. Please use the matchingType field.
InvoiceMarkedAs
string
PaymentReferenceId
string
The reference id of the payment or credit is associated with. This will be the identifier is on the remittance advice sent to the Vendor. Example: P001234, A00…
SubscriptionV2
object
9 properties 7 required
VendorState
string
VendorCallback
object
19 properties 9 required
VendorInternalId
string
The id of the Vendor in Vic.
ErrorString
string
PaymentStatusUpdatedEvent
object
4 properties 4 required
InvoicePostEvent
object
4 properties 4 required
CreditStatus
string
MonetaryValue
string
The monetary value as a string. A float should not be used. The api will accept a float and it will be transformed into a monetary value, but for best results…
CountryCode
string
The ISO-3166 country code. The acceptable values are Alpha-2 codes.
Tag
object
2 properties 1 required
PaymentBatchStatus
string
The status of the payment batch.
PurchaseOrderLineItemStatus
string
The status of the purchase order line item. When status field is set to open, then its value is derived from the line item's remaining amount. If the line item…
AccrualTermUnit
string
The accrual term units supported.
InvoiceConfirm
object
3 properties 2 required
CostAccountInfo
object
3 properties
PaymentStatus
string
The status of the payment. - pendingapproval - The payment is awaiting approval. - approved - The payment was approved for payment. - rejected - The payment wa…
TransactionType
string
The type of invoice transaction.
UpdateSubscriptionV2
object
5 properties
PurchaseOrderLineItemMatchingType
string
The type of matching that should be done on the line item. Determines which quantity fields are required. twoway - Only the quantityRequested field is required…
InvoiceDeletedEvent
object
4 properties 4 required
PurchaseOrderLineField
object
4 properties
Currency
string
The ISO-4217 currency code.
VendorTaxInfo
object
4 properties
PurchaseOrderUpdatedEvent
object
4 properties 4 required
PurchaseOrderReceiptLine
object
A receipt line associated with a purchase order line item.
17 properties 1 required
WebhookEventName
string
A webhook event type, or all to select every type when subscribing.
PurchaseOrderSiteOwner
object
The person or entity who is in charge of the purchase order site. Resolved to a user by email first, then by full name. If the name matches more than one user…
2 properties
InvoiceInfoNO
object
3 properties 1 required
CreditStatusUpdatedEvent
object
4 properties 4 required
PurchaseOrderStatus
string
The status of the purchase order.
InternationalBankAccount
object
2 properties
CostAccountRef
object
A reference to a Account.
2 properties
PurchaseOrderReceiptMatch
object
5 properties 4 required
Vendor
object
25 properties 10 required
InvoiceLineItemInfo
object
3 properties
Credit
object
24 properties
Payment
object
The payment made for an Invoice. The Account assigned to the payment is where the funds are being debited from.
25 properties
PaymentBatch
object
A batch of payments made with Vic.
11 properties
PaymentMethod
string
UnitOfMeasure
string
The unit of measure used.
InternalId
string
The internal id Vic uses for the record.
PurchaseOrderCreatedEvent
object
4 properties 4 required
ErrorV2
object
2 properties 1 required
InvoiceExternalPaymentStatus
string
UnsubscribeResult
string
AccrualInfo
object
3 properties 3 required
PaginationV2
object
2 properties
LineItemVat
object
5 properties
VendorRef
object
A reference to a Vendor.
2 properties
PaymentInfoMethod
string
The payment method to be used. Note: BANKACCOUNT is equivalent to ACH in the Web UI.
InvoiceBillStatus
string
SubscriptionsListV2
object
2 properties 2 required
InvoicePostedEvent
object
4 properties 4 required
CustomField
object
3 properties
Dimension
object
11 properties
Language
string
RequestIdCallback
object
2 properties 1 required
PaymentBatchProcessedEvent
object
2 properties 2 required
InvoiceLineItem
object
32 properties 3 required
DimensionRef
object
A reference to a dimension within Vic. The internalId takes precedence over all fields specified. If a dimension is not found matching the internalId an error…
4 properties
BillOfLadingNumber
object
The bill of lading number.
1 property 1 required
PurchaseOrderMatchingType
string
The matching type of the purchase order.
PurchaseOrderLineItem
object
20 properties 1 required
FieldError
object
Data structure for describing an error associated with a specific field in another datastructure. - internalField represents the Vic.API field name - externalF…
3 properties 3 required
CreateSubscriptionV2
object
5 properties 2 required
Invoice
object
57 properties 8 required
SparseVendor
object
A vendor object but sparsely populated.
5 properties 1 required
PaginationMetaV2
object
1 property
ExternalId
string
The external id set by the ERP system. It does not have to be a UUID and can be any non empty string desired.
MatchItem
object
7 properties 3 required
InvoiceField
object
4 properties
Email
string
InvoiceInternalId
string
The id of the Invoice in Vic.
InvoiceItemLineType
string
The type of invoice item line.
SubscriptionUpsert
object
3 properties 2 required
VendorRemoteError
object
The remote error on a Vendor. This is to describe any errors that have happened in the ERP system. If the error that occurred does not pertain to a specific fi…
2 properties 1 required
InvoiceApprovedEvent
object
4 properties 4 required
MatchedPurchaseOrder
object
3 properties 2 required
InvoicePaymentTerm
object
2 properties 2 required
Error
object
generic error message in JSON format. Note the 'code' field should match the HTTP status code of the wrapping HTTP request.
2 properties 2 required
PurchaseOrderDeletedEvent
object
4 properties 4 required
PaymentInfo
object
8 properties
InvoiceRef
object
A reference to an Invoice.
3 properties
PaymentInfoTerm
object
2 properties 2 required
InvoiceUiStatus
string
The invoice's processing status as shown in the Vic.ai interface.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

vicai-webhook-subscriptions-api-openapi.yml Raw ↑

Other APIs Vic.ai publishes across the network.

Vic.ai Accounts API
Vic.ai Allowed Senders API
Vic.ai Attachments API
Vic.ai Authentication API
Vic.ai Beta Features API
Vic.ai Bills API
Vic.ai Companies API
Vic.ai Company Settings API
Vic.ai Credit Confirmations API
Vic.ai CSV Reports API
Vic.ai Dimensions API
Vic.ai Email Endpoints API
Where this information came from

This is an independent, third-party profile of Vic.ai Webhook Subscriptions API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.