{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/business:hubspot-contacts/get-crm-v3-objects-contacts-get-page":{"get":{"operationId":"business_hubspot_contacts_get_crm_v3_objects_contacts_get_page","summary":"Retrieve contacts","description":"GET /crm/v3/objects/contacts","tags":["business"],"parameters":[{"name":"after","in":"query","required":false,"description":"The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged…","schema":{"type":"string","description":"The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged…"}},{"name":"archived","in":"query","required":false,"description":"Whether to return only results that have been archived.","schema":{"type":"boolean","default":false,"description":"Whether to return only results that have been archived."}},{"name":"associations","in":"query","required":false,"description":"A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be…","schema":{"type":"array","description":"A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be…"}},{"name":"limit","in":"query","required":false,"description":"The maximum number of results to display per page.","schema":{"type":"integer","default":10,"description":"The maximum number of results to display per page."}},{"name":"properties","in":"query","required":false,"description":"A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the…","schema":{"type":"array","description":"A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the…"}},{"name":"propertiesWithHistory","in":"query","required":false,"description":"A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties…","schema":{"type":"array","description":"A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties…"}}],"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-contacts/post-crm-v3-objects-contacts-create":{"post":{"operationId":"business_hubspot_contacts_post_crm_v3_objects_contacts_create","summary":"Create a contact","description":"POST /crm/v3/objects/contacts","tags":["business"],"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-contacts/post-crm-v3-objects-contacts-batch-archive-archive":{"post":{"operationId":"business_hubspot_contacts_post_crm_v3_objects_contacts_batch_archive_archive","summary":"Archive a batch of contacts","description":"POST /crm/v3/objects/contacts/batch/archive","tags":["business"],"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-contacts/post-crm-v3-objects-contacts-batch-create-create":{"post":{"operationId":"business_hubspot_contacts_post_crm_v3_objects_contacts_batch_create_create","summary":"Create a batch of contacts","description":"POST /crm/v3/objects/contacts/batch/create","tags":["business"],"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-contacts/post-crm-v3-objects-contacts-batch-read-read":{"post":{"operationId":"business_hubspot_contacts_post_crm_v3_objects_contacts_batch_read_read","summary":"Retrieve a batch of contacts","description":"POST /crm/v3/objects/contacts/batch/read","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"archived":{"type":"boolean","default":false,"description":"Whether to return only results that have been archived."},"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-contacts/post-crm-v3-objects-contacts-batch-update-update":{"post":{"operationId":"business_hubspot_contacts_post_crm_v3_objects_contacts_batch_update_update","summary":"Update a batch of contacts","description":"POST /crm/v3/objects/contacts/batch/update","tags":["business"],"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-contacts/post-crm-v3-objects-contacts-batch-upsert-upsert":{"post":{"operationId":"business_hubspot_contacts_post_crm_v3_objects_contacts_batch_upsert_upsert","summary":"Create or update a batch of contacts","description":"POST /crm/v3/objects/contacts/batch/upsert","tags":["business"],"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-contacts/post-crm-v3-objects-contacts-gdpr-delete-purge":{"post":{"operationId":"business_hubspot_contacts_post_crm_v3_objects_contacts_gdpr_delete_purge","summary":"Permanently delete a contact (GDPR-compliant)","description":"POST /crm/v3/objects/contacts/gdpr-delete","tags":["business"],"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-contacts/post-crm-v3-objects-contacts-merge-merge":{"post":{"operationId":"business_hubspot_contacts_post_crm_v3_objects_contacts_merge_merge","summary":"Merge two contacts","description":"POST /crm/v3/objects/contacts/merge","tags":["business"],"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-contacts/post-crm-v3-objects-contacts-search-do-search":{"post":{"operationId":"business_hubspot_contacts_post_crm_v3_objects_contacts_search_do_search","summary":"Search for contacts","description":"POST /crm/v3/objects/contacts/search","tags":["business"],"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-contacts/get-crm-v3-objects-contacts-contact-id-get-by-id":{"get":{"operationId":"business_hubspot_contacts_get_crm_v3_objects_contacts_contact_id_get_by_id","summary":"Retrieve a contact","description":"GET /crm/v3/objects/contacts/{contactId}","tags":["business"],"parameters":[{"name":"contactId","in":"query","required":true,"schema":{"type":"string"}},{"name":"archived","in":"query","required":false,"description":"Whether to return only results that have been archived.","schema":{"type":"boolean","default":false,"description":"Whether to return only results that have been archived."}},{"name":"associations","in":"query","required":false,"description":"A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be…","schema":{"type":"array","description":"A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be…"}},{"name":"idProperty","in":"query","required":false,"description":"The name of a property whose values are unique for this object type","schema":{"type":"string","description":"The name of a property whose values are unique for this object type"}},{"name":"properties","in":"query","required":false,"description":"A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the…","schema":{"type":"array","description":"A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the…"}},{"name":"propertiesWithHistory","in":"query","required":false,"description":"A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties…","schema":{"type":"array","description":"A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties…"}}],"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-contacts/patch-crm-v3-objects-contacts-contact-id-update":{"post":{"operationId":"business_hubspot_contacts_patch_crm_v3_objects_contacts_contact_id_update","summary":"Update a contact","description":"PATCH /crm/v3/objects/contacts/{contactId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["contactId","body"],"properties":{"contactId":{"type":"string"},"idProperty":{"type":"string","description":"The name of a property whose values are unique for this object type"},"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-contacts/delete-crm-v3-objects-contacts-contact-id-archive":{"post":{"operationId":"business_hubspot_contacts_delete_crm_v3_objects_contacts_contact_id_archive","summary":"Archive a contact","description":"DELETE /crm/v3/objects/contacts/{contactId}","tags":["business"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["contactId"],"properties":{"contactId":{"type":"string"}}}}}},"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":"dev-tools:hash"},"data":{},"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"}}}}}}}