{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources. Success responses include a `source` block to cite. Apizie Finance endpoints (SEC EDGAR, FRED, ECB, U.S. Treasury, GLEIF, World Bank, official:*) need a Finance plan."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/business:hubspot-events-manage-event-definitions/get-events-2026-09-event-definitions":{"get":{"operationId":"business_hubspot_events_manage_event_definitions_get_events_2026_09_event_definitions","summary":"List event definitions","description":"GET /events/2026-09/event-definitions","tags":["business"],"x-apizie-access":"read","parameters":[{"name":"after","in":"query","required":false,"description":"A cursor token for pagination. Use the value from the previous response's paging.next.after field to retrieve the next set of results.","schema":{"type":"string","description":"A cursor token for pagination. Use the value from the previous response's paging.next.after field to retrieve the next set of results."}},{"name":"includeProperties","in":"query","required":false,"description":"A boolean indicating whether to include event properties in the response.","schema":{"type":"boolean","description":"A boolean indicating whether to include event properties in the response."}},{"name":"limit","in":"query","required":false,"description":"The maximum number of results to return per page.","schema":{"type":"integer","description":"The maximum number of results to return per page."}},{"name":"searchString","in":"query","required":false,"description":"A string to filter event definitions by name or description.","schema":{"type":"string","description":"A string to filter event definitions by name or description."}},{"name":"sortOrder","in":"query","required":false,"description":"The order in which to sort the results. Accepts values like 'asc' or 'desc'.","schema":{"type":"string","description":"The order in which to sort the results. Accepts values like 'asc' or 'desc'."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:hubspot-events-manage-event-definitions/post-events-2026-09-event-definitions":{"post":{"operationId":"business_hubspot_events_manage_event_definitions_post_events_2026_09_event_definitions","summary":"Create","description":"POST /events/2026-09/event-definitions","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:hubspot-events-manage-event-definitions/get-events-2026-09-event-definitions-event-name":{"get":{"operationId":"business_hubspot_events_manage_event_definitions_get_events_2026_09_event_definitions_event_name","summary":"Retrieve event definition","description":"GET /events/2026-09/event-definitions/{eventName}","tags":["business"],"x-apizie-access":"read","parameters":[{"name":"eventName","in":"query","required":true,"description":"The unique name of the event definition to retrieve.","schema":{"type":"string","description":"The unique name of the event definition to retrieve."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/business:hubspot-events-manage-event-definitions/patch-events-2026-09-event-definitions-event-name":{"post":{"operationId":"business_hubspot_events_manage_event_definitions_patch_events_2026_09_event_definitions_event_name","summary":"Update event definition","description":"PATCH /events/2026-09/event-definitions/{eventName}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["eventName","body"],"properties":{"eventName":{"type":"string","description":"The unique name of the event definition to update."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:hubspot-events-manage-event-definitions/delete-events-2026-09-event-definitions-event-name":{"post":{"operationId":"business_hubspot_events_manage_event_definitions_delete_events_2026_09_event_definitions_event_name","summary":"Delete","description":"DELETE /events/2026-09/event-definitions/{eventName}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["eventName"],"properties":{"eventName":{"type":"string","description":"The unique name of the event definition to delete."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:hubspot-events-manage-event-definitions/post-events-2026-09-event-definitions-event-name-property":{"post":{"operationId":"business_hubspot_events_manage_event_definitions_post_events_2026_09_event_definitions_event_name_property","summary":"Create Property","description":"POST /events/2026-09/event-definitions/{eventName}/property","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["eventName","body"],"properties":{"eventName":{"type":"string","description":"The unique identifier of the event definition for which the property is being created."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:hubspot-events-manage-event-definitions/patch-events-2026-09-event-definitions-event-name-property-p":{"post":{"operationId":"business_hubspot_events_manage_event_definitions_patch_events_2026_09_event_definitions_event_name_property_p","summary":"Update property","description":"PATCH /events/2026-09/event-definitions/{eventName}/property/{propertyName}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["eventName","propertyName","body"],"properties":{"eventName":{"type":"string","description":"The unique identifier of the event whose property you want to update."},"propertyName":{"type":"string","description":"The name of the property to be updated within the specified event."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/business:hubspot-events-manage-event-definitions/delete-events-2026-09-event-definitions-event-name-property":{"post":{"operationId":"business_hubspot_events_manage_event_definitions_delete_events_2026_09_event_definitions_event_name_property","summary":"Delete property","description":"DELETE /events/2026-09/event-definitions/{eventName}/property/{propertyName}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["eventName","propertyName"],"properties":{"eventName":{"type":"string","description":"The unique name of the event definition from which the property will be deleted."},"propertyName":{"type":"string","description":"The unique name of the property to be deleted from the event definition."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"official:company"},"data":{},"source":{"type":"object","description":"Where the data came from. Cite it.","properties":{"official":{"type":"boolean"},"provider":{"type":"string","example":"SEC EDGAR"},"publisher":{"type":"string","example":"U.S. Securities and Exchange Commission"},"url":{"type":"string","format":"uri","description":"A page a person can open to check the value"},"apiUrl":{"type":"string","format":"uri","description":"The official API URL that was called (credentials removed)"},"retrievedAt":{"type":"string","format":"date-time"},"license":{"type":"string"},"licenseUrl":{"type":"string","format":"uri"},"attribution":{"type":"string"},"notice":{"type":"string"}}},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}