{"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-automation-email-templates/get-automation-email-templates-2026-09-automation-email-temp":{"get":{"operationId":"business_hubspot_automation_email_templates_get_automation_email_templates_2026_09_automation_email_temp","summary":"List templates","description":"GET /automation/email-templates/2026-09","tags":["business"],"x-apizie-access":"read","parameters":[{"name":"after","in":"query","required":false,"description":"The paging cursor token of the last successfully read resource, returned as the `paging.next.after` JSON property of a paged response…","schema":{"type":"string","description":"The paging cursor token of the last successfully read resource, returned as the `paging.next.after` JSON property of a paged response…"}},{"name":"limit","in":"query","required":false,"description":"The maximum number of results to display per page. Defaults to 20.","schema":{"type":"integer","default":20,"description":"The maximum number of results to display per page. Defaults to 20."}}],"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-automation-email-templates/post-automation-email-templates-2026-09-automation-email-tem":{"post":{"operationId":"business_hubspot_automation_email_templates_post_automation_email_templates_2026_09_automation_email_tem","summary":"Create","description":"POST /automation/email-templates/2026-09","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-automation-email-templates/get-automation-email-templates-2026-09-folders-automation-em":{"get":{"operationId":"business_hubspot_automation_email_templates_get_automation_email_templates_2026_09_folders_automation_em","summary":"List folders","description":"GET /automation/email-templates/2026-09/folders","tags":["business"],"x-apizie-access":"read","parameters":[{"name":"after","in":"query","required":false,"description":"The paging cursor token of the last successfully read resource. Use this token to retrieve the next set of results.","schema":{"type":"string","description":"The paging cursor token of the last successfully read resource. Use this token to retrieve the next set of results."}},{"name":"limit","in":"query","required":false,"description":"The maximum number of results to display per page. Defaults to 20.","schema":{"type":"integer","default":20,"description":"The maximum number of results to display per page. Defaults to 20."}}],"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-automation-email-templates/get-automation-email-templates-2026-09-template-id-automatio":{"get":{"operationId":"business_hubspot_automation_email_templates_get_automation_email_templates_2026_09_template_id_automatio","summary":"Retrieve template","description":"GET /automation/email-templates/2026-09/{templateId}","tags":["business"],"x-apizie-access":"read","parameters":[{"name":"templateId","in":"query","required":true,"description":"The unique identifier of the email template to retrieve.","schema":{"type":"integer","description":"The unique identifier of the email template 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-automation-email-templates/patch-automation-email-templates-2026-09-template-id-automat":{"post":{"operationId":"business_hubspot_automation_email_templates_patch_automation_email_templates_2026_09_template_id_automat","summary":"Update template","description":"PATCH /automation/email-templates/2026-09/{templateId}","tags":["business"],"x-apizie-access":"write","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["templateId","body"],"properties":{"templateId":{"type":"integer","description":"The unique identifier of the email template 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"}}},"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"}}}}}}}