{"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-crm-pipelines/get-crm-pipelines-2026-09-object-type":{"get":{"operationId":"business_hubspot_crm_pipelines_get_crm_pipelines_2026_09_object_type","summary":"Retrieve pipelines","description":"GET /crm/pipelines/2026-09/{objectType}","tags":["business"],"x-apizie-access":"read","parameters":[{"name":"objectType","in":"query","required":true,"description":"The type of object for which pipelines are being retrieved. This is a required parameter and must be specified in the path.","schema":{"type":"string","description":"The type of object for which pipelines are being retrieved. This is a required parameter and must be specified in the path."}}],"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-crm-pipelines/post-crm-pipelines-2026-09-object-type":{"post":{"operationId":"business_hubspot_crm_pipelines_post_crm_pipelines_2026_09_object_type","summary":"Create pipeline","description":"POST /crm/pipelines/2026-09/{objectType}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["objectType","body"],"properties":{"objectType":{"type":"string","description":"The type of object for which the pipeline is being created, such as deals or tickets."},"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-crm-pipelines/get-crm-pipelines-2026-09-object-type-pipeline-id":{"get":{"operationId":"business_hubspot_crm_pipelines_get_crm_pipelines_2026_09_object_type_pipeline_id","summary":"Retrieve pipeline","description":"GET /crm/pipelines/2026-09/{objectType}/{pipelineId}","tags":["business"],"x-apizie-access":"read","parameters":[{"name":"objectType","in":"query","required":true,"description":"The type of object the pipeline is associated with, such as deals or tickets.","schema":{"type":"string","description":"The type of object the pipeline is associated with, such as deals or tickets."}},{"name":"pipelineId","in":"query","required":true,"description":"The unique identifier of the pipeline to retrieve.","schema":{"type":"string","description":"The unique identifier of the pipeline 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-crm-pipelines/put-crm-pipelines-2026-09-object-type-pipeline-id":{"post":{"operationId":"business_hubspot_crm_pipelines_put_crm_pipelines_2026_09_object_type_pipeline_id","summary":"Update pipeline (Replace)","description":"PUT /crm/pipelines/2026-09/{objectType}/{pipelineId}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["objectType","pipelineId","body"],"properties":{"objectType":{"type":"string","description":"The type of object the pipeline is associated with, such as deals or tickets."},"pipelineId":{"type":"string","description":"The unique identifier of the pipeline to update."},"validateDealStageUsagesBeforeDelete":{"type":"boolean","default":true,"description":"A boolean indicating whether to validate deal stage usages before deleting. Defaults to true."},"validateReferencesBeforeDelete":{"type":"boolean","default":true,"description":"A boolean indicating whether to validate references before deleting. Defaults to true."},"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-crm-pipelines/patch-crm-pipelines-2026-09-object-type-pipeline-id":{"post":{"operationId":"business_hubspot_crm_pipelines_patch_crm_pipelines_2026_09_object_type_pipeline_id","summary":"Update pipeline (Partial)","description":"PATCH /crm/pipelines/2026-09/{objectType}/{pipelineId}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["objectType","pipelineId","body"],"properties":{"objectType":{"type":"string","description":"The type of object associated with the pipeline, such as deals or tickets."},"pipelineId":{"type":"string","description":"The unique identifier of the pipeline to update."},"validateDealStageUsagesBeforeDelete":{"type":"boolean","default":true,"description":"A boolean indicating whether to validate deal stage usages before deleting. Defaults to true."},"validateReferencesBeforeDelete":{"type":"boolean","default":true,"description":"A boolean indicating whether to validate references before deleting. Defaults to true."},"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-crm-pipelines/delete-crm-pipelines-2026-09-object-type-pipeline-id":{"post":{"operationId":"business_hubspot_crm_pipelines_delete_crm_pipelines_2026_09_object_type_pipeline_id","summary":"Delete pipeline","description":"DELETE /crm/pipelines/2026-09/{objectType}/{pipelineId}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["objectType","pipelineId"],"properties":{"objectType":{"type":"string","description":"The type of object the pipeline belongs to, such as deals or tickets."},"pipelineId":{"type":"string","description":"The unique identifier of the pipeline to delete."},"validateDealStageUsagesBeforeDelete":{"type":"boolean","default":true,"description":"A boolean indicating whether to validate deal stage usages before deleting the pipeline. Defaults to true."},"validateReferencesBeforeDelete":{"type":"boolean","default":true,"description":"A boolean indicating whether to validate references before deleting the pipeline. Defaults to true."}}}}}},"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-crm-pipelines/get-crm-pipelines-2026-09-object-type-pipeline-id-audit":{"get":{"operationId":"business_hubspot_crm_pipelines_get_crm_pipelines_2026_09_object_type_pipeline_id_audit","summary":"Retrieve audit logs","description":"GET /crm/pipelines/2026-09/{objectType}/{pipelineId}/audit","tags":["business"],"x-apizie-access":"read","parameters":[{"name":"objectType","in":"query","required":true,"description":"The type of object the pipeline is associated with, such as deals or tickets.","schema":{"type":"string","description":"The type of object the pipeline is associated with, such as deals or tickets."}},{"name":"pipelineId","in":"query","required":true,"description":"The unique identifier of the pipeline for which audit logs are being retrieved.","schema":{"type":"string","description":"The unique identifier of the pipeline for which audit logs are being retrieved."}}],"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-crm-pipelines/get-crm-pipelines-2026-09-object-type-pipeline-id-stages":{"get":{"operationId":"business_hubspot_crm_pipelines_get_crm_pipelines_2026_09_object_type_pipeline_id_stages","summary":"List stages","description":"GET /crm/pipelines/2026-09/{objectType}/{pipelineId}/stages","tags":["business"],"x-apizie-access":"read","parameters":[{"name":"objectType","in":"query","required":true,"description":"The type of object for which the pipeline stages are being retrieved, such as deals or tickets.","schema":{"type":"string","description":"The type of object for which the pipeline stages are being retrieved, such as deals or tickets."}},{"name":"pipelineId","in":"query","required":true,"description":"The unique identifier of the pipeline whose stages are being retrieved.","schema":{"type":"string","description":"The unique identifier of the pipeline whose stages are being retrieved."}}],"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-crm-pipelines/post-crm-pipelines-2026-09-object-type-pipeline-id-stages":{"post":{"operationId":"business_hubspot_crm_pipelines_post_crm_pipelines_2026_09_object_type_pipeline_id_stages","summary":"Create Stage","description":"POST /crm/pipelines/2026-09/{objectType}/{pipelineId}/stages","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["objectType","pipelineId","body"],"properties":{"objectType":{"type":"string","description":"The type of object for which the pipeline stage is being created, such as deals or tickets."},"pipelineId":{"type":"string","description":"The unique identifier of the pipeline to which the new stage will be added."},"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-crm-pipelines/get-crm-pipelines-2026-09-object-type-pipeline-id-stages-sta":{"get":{"operationId":"business_hubspot_crm_pipelines_get_crm_pipelines_2026_09_object_type_pipeline_id_stages_sta","summary":"Retrieve stage","description":"GET /crm/pipelines/2026-09/{objectType}/{pipelineId}/stages/{stageId}","tags":["business"],"x-apizie-access":"read","parameters":[{"name":"objectType","in":"query","required":true,"description":"The type of object for which the pipeline stage is being retrieved.","schema":{"type":"string","description":"The type of object for which the pipeline stage is being retrieved."}},{"name":"pipelineId","in":"query","required":true,"description":"The unique identifier of the pipeline that contains the stage.","schema":{"type":"string","description":"The unique identifier of the pipeline that contains the stage."}},{"name":"stageId","in":"query","required":true,"description":"The unique identifier of the stage to retrieve within the pipeline.","schema":{"type":"string","description":"The unique identifier of the stage to retrieve within the pipeline."}}],"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-crm-pipelines/put-crm-pipelines-2026-09-object-type-pipeline-id-stages-sta":{"post":{"operationId":"business_hubspot_crm_pipelines_put_crm_pipelines_2026_09_object_type_pipeline_id_stages_sta","summary":"Update stage","description":"PUT /crm/pipelines/2026-09/{objectType}/{pipelineId}/stages/{stageId}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["objectType","pipelineId","stageId","body"],"properties":{"objectType":{"type":"string","description":"The type of object the pipeline belongs to, such as deals or tickets."},"pipelineId":{"type":"string","description":"The unique identifier of the pipeline containing the stage."},"stageId":{"type":"string","description":"The unique identifier of the stage 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-crm-pipelines/patch-crm-pipelines-2026-09-object-type-pipeline-id-stages-s":{"post":{"operationId":"business_hubspot_crm_pipelines_patch_crm_pipelines_2026_09_object_type_pipeline_id_stages_s","summary":"Update stage (Partial)","description":"PATCH /crm/pipelines/2026-09/{objectType}/{pipelineId}/stages/{stageId}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["objectType","pipelineId","stageId","body"],"properties":{"objectType":{"type":"string","description":"The type of object that the pipeline belongs to, such as deals or tickets."},"pipelineId":{"type":"string","description":"The unique identifier of the pipeline that contains the stage to be updated."},"stageId":{"type":"string","description":"The unique identifier of the stage to update within the specified pipeline."},"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-crm-pipelines/delete-crm-pipelines-2026-09-object-type-pipeline-id-stages":{"post":{"operationId":"business_hubspot_crm_pipelines_delete_crm_pipelines_2026_09_object_type_pipeline_id_stages","summary":"Delete stage","description":"DELETE /crm/pipelines/2026-09/{objectType}/{pipelineId}/stages/{stageId}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["objectType","pipelineId","stageId"],"properties":{"objectType":{"type":"string","description":"The type of object the pipeline belongs to, such as deals or tickets."},"pipelineId":{"type":"string","description":"The unique identifier of the pipeline from which the stage will be deleted."},"stageId":{"type":"string","description":"The unique identifier of the stage to delete."},"validateReferencesBeforeDelete":{"type":"boolean","default":true,"description":"A boolean flag indicating whether to validate references before deleting the stage. Defaults to true."}}}}}},"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-crm-pipelines/get-crm-pipelines-2026-09-object-type-pipeline-id-stages-sta-2":{"get":{"operationId":"business_hubspot_crm_pipelines_get_crm_pipelines_2026_09_object_type_pipeline_id_stages_sta_2","summary":"Retrieve stage audit","description":"GET /crm/pipelines/2026-09/{objectType}/{pipelineId}/stages/{stageId}/audit","tags":["business"],"x-apizie-access":"read","parameters":[{"name":"objectType","in":"query","required":true,"description":"The type of CRM object that the pipeline belongs to, such as deals or tickets.","schema":{"type":"string","description":"The type of CRM object that the pipeline belongs to, such as deals or tickets."}},{"name":"pipelineId","in":"query","required":true,"schema":{"type":"string"}},{"name":"stageId","in":"query","required":true,"description":"The unique identifier of the stage within the pipeline for which audit information is being retrieved.","schema":{"type":"string","description":"The unique identifier of the stage within the pipeline for which audit information is being retrieved."}}],"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"}}},"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"}}}}}}}