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.2.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.2.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.

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.

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…
PurchaseOrderType
string
This has been deprecated. Please use the matchingType field.
VendorCallback
object
19 properties 9 required
Language
string
InvoicePostEvent
object
4 properties 4 required
InvoiceInternalId
string
The id of the Invoice in Vic.
InternationalBankAccount
object
2 properties
PurchaseOrderReceiptLine
object
A receipt line associated with a purchase order line item.
17 properties 1 required
ErrorString
string
PaymentBatchProcessedEvent
object
2 properties 2 required
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
InvoiceLineItemInfo
object
3 properties
MatchItem
object
7 properties 3 required
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.
CostAccountRef
object
A reference to a Account.
2 properties
UnitOfMeasure
string
The unit of measure used.
Payment
object
The payment made for an Invoice. The Account assigned to the payment is where the funds are being debited from.
25 properties
InvoiceRef
object
A reference to an Invoice.
3 properties
InvoiceStatus
string
Contact the support to enable the APPROVED value.
BillOfLadingNumber
object
The bill of lading number.
1 property 1 required
Credit
object
24 properties
InvoiceInfoNO
object
3 properties 1 required
TransactionType
string
The type of invoice transaction.
MatchedPurchaseOrder
object
3 properties 2 required
SubscriptionsListV2
object
2 properties 2 required
PurchaseOrderReceiptMatch
object
5 properties 4 required
InvoiceDeletedEvent
object
4 properties 4 required
PaymentBatchStatus
string
The status of the payment batch.
PurchaseOrderDeletedEvent
object
4 properties 4 required
Dimension
object
11 properties
UnsubscribeResult
string
PurchaseOrderLineItem
object
20 properties 1 required
CostAccountInfo
object
3 properties
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…
InvoiceMarkedAs
string
VendorConfirm
object
2 properties 2 required
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…
PurchaseOrderCreatedEvent
object
4 properties 4 required
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
PurchaseOrderUpdatedEvent
object
4 properties 4 required
InvoiceBillStatus
string
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…
InvoiceExternalPaymentStatus
string
PurchaseOrderStatus
string
The status of the purchase order.
Tag
object
2 properties 1 required
PaymentInfoMethod
string
The payment method to be used. Note: BANKACCOUNT is equivalent to ACH in the Web UI.
CustomField
object
3 properties
PaymentInfoTermUnit
string
The payment term units supported.
SparseVendor
object
A vendor object but sparsely populated.
5 properties 1 required
InvoicePostedEvent
object
4 properties 4 required
PurchaseOrderLineField
object
4 properties
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…
PaymentInfo
object
8 properties
TaxCode
object
4 properties
CreditStatusUpdatedEvent
object
4 properties 4 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
UpdateSubscriptionV2
object
5 properties
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
SubscriptionUpsert
object
3 properties 2 required
PaginationV2
object
2 properties
PaginationMetaV2
object
1 property
ErrorV2
object
2 properties 1 required
Invoice
object
57 properties 8 required
PaymentMethod
string
PurchaseOrder
object
18 properties 4 required
Email
string
SubscriptionV2
object
9 properties 7 required
InvoiceItemLineType
string
The type of invoice item line.
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
WebhookEventName
string
A webhook event type, or all to select every type when subscribing.
InvoiceUiStatus
string
The invoice's processing status as shown in the Vic.ai interface.
InvoiceRestoredEvent
object
4 properties 4 required
Currency
string
The ISO-4217 currency code.
PurchaseOrderScheduleLine
object
A schedule line associated with a purchase order line item.
11 properties 1 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
PurchaseOrderMatchingType
string
The matching type of the purchase order.
ExternalData
object
A free form json object that is stored with the record.
InternalId
string
The internal id Vic uses for the record.
CreditStatus
string
CountryCode
string
The ISO-3166 country code. The acceptable values are Alpha-2 codes.
VendorTaxInfo
object
4 properties
LineItemVat
object
5 properties
PaymentInfoTerm
object
2 properties 2 required
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…
Vendor
object
25 properties 10 required
InvoiceConfirm
object
3 properties 2 required
CreateSubscriptionV2
object
5 properties 2 required
InvoiceLineItem
object
32 properties 3 required
InvoiceApprovedEvent
object
4 properties 4 required
VendorState
string
AccrualInfo
object
3 properties 3 required
PaymentStatus
string
The status of the payment. - pendingapproval - The payment is awaiting approval. - approved - The payment was approved for payment. - rejected - The payment wa…
RequestIdCallback
object
2 properties 1 required
AccrualTermUnit
string
The accrual term units supported.
PaymentBatch
object
A batch of payments made with Vic.
11 properties
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
VendorInternalId
string
The id of the Vendor in Vic.
InvoicePaymentTerm
object
2 properties 2 required
PaymentStatusUpdatedEvent
object
4 properties 4 required
VendorRef
object
A reference to a Vendor.
2 properties
InvoiceField
object
4 properties

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.