{"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-pipeline-governance/get-crm-pipelines-rules-2026-09-object-type-id-pipeline-id":{"get":{"operationId":"business_hubspot_crm_pipeline_governance_get_crm_pipelines_rules_2026_09_object_type_id_pipeline_id","summary":"Retrieve rules","description":"GET /crm/pipelines-rules/2026-09/{objectTypeId}/{pipelineId}","tags":["business"],"x-apizie-access":"read","parameters":[{"name":"objectTypeId","in":"query","required":true,"description":"The unique identifier of the object type for which the pipeline rules are being retrieved.","schema":{"type":"string","description":"The unique identifier of the object type for which the pipeline rules are being retrieved."}},{"name":"pipelineId","in":"query","required":true,"description":"The unique identifier of the pipeline whose rules are being retrieved.","schema":{"type":"string","description":"The unique identifier of the pipeline whose rules 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-pipeline-governance/put-crm-pipelines-rules-2026-09-object-type-id-pipeline-id":{"post":{"operationId":"business_hubspot_crm_pipeline_governance_put_crm_pipelines_rules_2026_09_object_type_id_pipeline_id","summary":"Update rules (Replace)","description":"PUT /crm/pipelines-rules/2026-09/{objectTypeId}/{pipelineId}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["objectTypeId","pipelineId","body"],"properties":{"objectTypeId":{"type":"string","description":"The unique identifier of the object type for which the pipeline rules are being updated."},"pipelineId":{"type":"string","description":"The unique identifier of the pipeline whose rules are being updated."},"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-pipeline-governance/patch-crm-pipelines-rules-2026-09-object-type-id-pipeline-id":{"post":{"operationId":"business_hubspot_crm_pipeline_governance_patch_crm_pipelines_rules_2026_09_object_type_id_pipeline_id","summary":"Update rules (Partial)","description":"PATCH /crm/pipelines-rules/2026-09/{objectTypeId}/{pipelineId}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["objectTypeId","pipelineId","body"],"properties":{"objectTypeId":{"type":"string","description":"The unique identifier of the object type for which the pipeline rules are being updated."},"pipelineId":{"type":"string","description":"The unique identifier of the pipeline whose rules are being updated."},"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-pipeline-governance/delete-crm-pipelines-rules-2026-09-object-type-id-pipeline-i":{"post":{"operationId":"business_hubspot_crm_pipeline_governance_delete_crm_pipelines_rules_2026_09_object_type_id_pipeline_i","summary":"Delete","description":"DELETE /crm/pipelines-rules/2026-09/{objectTypeId}/{pipelineId}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["objectTypeId","pipelineId"],"properties":{"objectTypeId":{"type":"string","description":"The unique identifier of the object type associated with the pipeline rules to delete."},"pipelineId":{"type":"string","description":"The unique identifier of the pipeline whose rules are to be deleted."}}}}}},"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-pipeline-governance/post-crm-pipelines-rules-2026-09-object-type-id-pipeline-id":{"post":{"operationId":"business_hubspot_crm_pipeline_governance_post_crm_pipelines_rules_2026_09_object_type_id_pipeline_id","summary":"Start Approval","description":"POST /crm/pipelines-rules/2026-09/{objectTypeId}/{pipelineId}/approvals/start","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["objectTypeId","pipelineId","body"],"properties":{"objectTypeId":{"type":"string","description":"The unique identifier of the object type for which the approval process is being started."},"pipelineId":{"type":"string","description":"The unique identifier of the pipeline for which the approval process is being initiated."},"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-pipeline-governance/get-crm-pipelines-rules-2026-09-object-type-id-pipeline-id-a":{"get":{"operationId":"business_hubspot_crm_pipeline_governance_get_crm_pipelines_rules_2026_09_object_type_id_pipeline_id_a","summary":"Retrieve Approval","description":"GET /crm/pipelines-rules/2026-09/{objectTypeId}/{pipelineId}/approvals/{objectId}","tags":["business"],"x-apizie-access":"read","parameters":[{"name":"objectId","in":"query","required":true,"description":"The unique identifier of the object for which the approval status is being retrieved.","schema":{"type":"integer","description":"The unique identifier of the object for which the approval status is being retrieved."}},{"name":"objectTypeId","in":"query","required":true,"description":"The unique identifier for the type of object being referenced.","schema":{"type":"string","description":"The unique identifier for the type of object being referenced."}},{"name":"pipelineId","in":"query","required":true,"description":"The unique identifier of the pipeline containing the object.","schema":{"type":"string","description":"The unique identifier of the pipeline containing the object."}}],"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-pipeline-governance/get-crm-pipelines-rules-2026-09-object-type-id-pipeline-id-s":{"get":{"operationId":"business_hubspot_crm_pipeline_governance_get_crm_pipelines_rules_2026_09_object_type_id_pipeline_id_s","summary":"Retrieve permissions","description":"GET /crm/pipelines-rules/2026-09/{objectTypeId}/{pipelineId}/stage-edit-permissions","tags":["business"],"x-apizie-access":"read","parameters":[{"name":"objectTypeId","in":"query","required":true,"description":"The unique identifier of the object type for which the pipeline stage edit permissions are being retrieved.","schema":{"type":"string","description":"The unique identifier of the object type for which the pipeline stage edit permissions are being retrieved."}},{"name":"pipelineId","in":"query","required":true,"description":"The unique identifier of the pipeline whose stage edit permissions are being retrieved.","schema":{"type":"string","description":"The unique identifier of the pipeline whose stage edit permissions 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-pipeline-governance/put-crm-pipelines-rules-2026-09-object-type-id-pipeline-id-s":{"post":{"operationId":"business_hubspot_crm_pipeline_governance_put_crm_pipelines_rules_2026_09_object_type_id_pipeline_id_s","summary":"Update permissions","description":"PUT /crm/pipelines-rules/2026-09/{objectTypeId}/{pipelineId}/stage-edit-permissions","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["objectTypeId","pipelineId","body"],"properties":{"objectTypeId":{"type":"string","description":"The unique identifier of the object type associated with the pipeline."},"pipelineId":{"type":"string","description":"The unique identifier of the pipeline for which stage edit permissions are being updated."},"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"}}},"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"}}}}}}}