{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://www.apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/dev-tools:apideck-vault/connections-authorize":{"get":{"operationId":"dev_tools_apideck_vault_connections_authorize","summary":"Authorize","description":"GET /vault/authorize/{service_id}/{application_id}","tags":["dev-tools"],"parameters":[{"name":"service_id","in":"query","required":true,"description":"Service ID of the resource to return","schema":{"type":"string","description":"Service ID of the resource to return"},"example":"pipedrive"},{"name":"application_id","in":"query","required":true,"description":"Application ID of the resource to return","schema":{"type":"string","description":"Application ID of the resource to return"},"example":"dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"},{"name":"state","in":"query","required":true,"description":"An opaque value the applications adds to the initial request that the authorization server includes when redirecting the back to the…","schema":{"type":"string","description":"An opaque value the applications adds to the initial request that the authorization server includes when redirecting the back to the…"},"example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb25zdW1lcl9pZCI6InRlc3RfdXNlcl9pZCIsInVuaWZpZWRfYXBpIjoiZGVmYXVsdCIsInNlcnZpY2VfaWQiOiJ0ZWFtbGVhZGVyIiwiYXBwbGljYXRpb25faWQiOiIxMTExIiwiaWF0IjoxNjIyMTI2Nzg3fQ.97_pn1UAXc7mctXBdr15czUNO1jjdQ9sJUOIE_Myzbk"},{"name":"redirect_uri","in":"query","required":true,"description":"URL to redirect back to after authorization. When left empty the default configured redirect uri will be used.","schema":{"type":"string","description":"URL to redirect back to after authorization. When left empty the default configured redirect uri will be used."},"example":"http://example.com/integrations"},{"name":"scope","in":"query","required":false,"description":"One or more OAuth scopes to request from the connector. OAuth scopes control the set of resources and operations that are allowed after…","schema":{"type":"array","description":"One or more OAuth scopes to request from the connector. OAuth scopes control the set of resources and operations that are allowed after…"}}],"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/dev-tools:apideck-vault/connections-callback":{"get":{"operationId":"dev_tools_apideck_vault_connections_callback","summary":"Callback","description":"GET /vault/callback","tags":["dev-tools"],"parameters":[{"name":"state","in":"query","required":true,"description":"An opaque value the applications adds to the initial request that the authorization server includes when redirecting the back to the…","schema":{"type":"string","description":"An opaque value the applications adds to the initial request that the authorization server includes when redirecting the back to the…"},"example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb25zdW1lcl9pZCI6InRlc3RfdXNlcl9pZCIsInVuaWZpZWRfYXBpIjoiZGVmYXVsdCIsInNlcnZpY2VfaWQiOiJ0ZWFtbGVhZGVyIiwiYXBwbGljYXRpb25faWQiOiIxMTExIiwiaWF0IjoxNjIyMTI2Nzg3fQ.97_pn1UAXc7mctXBdr15czUNO1jjdQ9sJUOIE_Myzbk"},{"name":"code","in":"query","required":true,"description":"An authorization code from the connector which Apideck Vault will later exchange for an access token.","schema":{"type":"string","description":"An authorization code from the connector which Apideck Vault will later exchange for an access token."},"example":"g0ZGZmNjVmOWI"}],"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/dev-tools:apideck-vault/connections-all":{"get":{"operationId":"dev_tools_apideck_vault_connections_all","summary":"Get all connections","description":"GET /vault/connections","tags":["dev-tools"],"parameters":[{"name":"x-apideck-consumer-id","in":"query","required":true,"description":"ID of the consumer which you want to get or push data from","schema":{"type":"string","description":"ID of the consumer which you want to get or push data from"}},{"name":"x-apideck-app-id","in":"query","required":true,"description":"The ID of your Unify application","schema":{"type":"string","description":"The ID of your Unify application"},"example":"dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"},{"name":"api","in":"query","required":false,"description":"Scope results to Unified API","schema":{"type":"string","description":"Scope results to Unified API"},"example":"crm"},{"name":"configured","in":"query","required":false,"description":"Scopes results to connections that have been configured or not","schema":{"type":"boolean","description":"Scopes results to connections that have been configured or not"},"example":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":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:apideck-vault/connections-one":{"get":{"operationId":"dev_tools_apideck_vault_connections_one","summary":"Get connection","description":"GET /vault/connections/{unified_api}/{service_id}","tags":["dev-tools"],"parameters":[{"name":"x-apideck-consumer-id","in":"query","required":true,"description":"ID of the consumer which you want to get or push data from","schema":{"type":"string","description":"ID of the consumer which you want to get or push data from"}},{"name":"x-apideck-app-id","in":"query","required":true,"description":"The ID of your Unify application","schema":{"type":"string","description":"The ID of your Unify application"},"example":"dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"},{"name":"service_id","in":"query","required":true,"description":"Service ID of the resource to return","schema":{"type":"string","description":"Service ID of the resource to return"},"example":"pipedrive"},{"name":"unified_api","in":"query","required":true,"description":"Unified API","schema":{"type":"string","description":"Unified API"},"example":"crm"}],"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/dev-tools:apideck-vault/connections-add":{"post":{"operationId":"dev_tools_apideck_vault_connections_add","summary":"Create connection","description":"POST /vault/connections/{unified_api}/{service_id}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-apideck-consumer-id","x-apideck-app-id","service_id","unified_api","body"],"properties":{"x-apideck-consumer-id":{"type":"string","description":"ID of the consumer which you want to get or push data from"},"x-apideck-app-id":{"type":"string","description":"The ID of your Unify application"},"service_id":{"type":"string","description":"Service ID of the resource to return"},"unified_api":{"type":"string","description":"Unified API"},"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/dev-tools:apideck-vault/connections-update":{"post":{"operationId":"dev_tools_apideck_vault_connections_update","summary":"Update connection","description":"PATCH /vault/connections/{unified_api}/{service_id}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-apideck-consumer-id","x-apideck-app-id","service_id","unified_api","body"],"properties":{"x-apideck-consumer-id":{"type":"string","description":"ID of the consumer which you want to get or push data from"},"x-apideck-app-id":{"type":"string","description":"The ID of your Unify application"},"service_id":{"type":"string","description":"Service ID of the resource to return"},"unified_api":{"type":"string","description":"Unified API"},"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/dev-tools:apideck-vault/connections-delete":{"post":{"operationId":"dev_tools_apideck_vault_connections_delete","summary":"Deletes a connection","description":"DELETE /vault/connections/{unified_api}/{service_id}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-apideck-consumer-id","x-apideck-app-id","service_id","unified_api"],"properties":{"x-apideck-consumer-id":{"type":"string","description":"ID of the consumer which you want to get or push data from"},"x-apideck-app-id":{"type":"string","description":"The ID of your Unify application"},"service_id":{"type":"string","description":"Service ID of the resource to return"},"unified_api":{"type":"string","description":"Unified API"}}}}}},"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/dev-tools:apideck-vault/connections-import":{"post":{"operationId":"dev_tools_apideck_vault_connections_import","summary":"Import connection","description":"POST /vault/connections/{unified_api}/{service_id}/import","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-apideck-consumer-id","x-apideck-app-id","service_id","unified_api","body"],"properties":{"x-apideck-consumer-id":{"type":"string","description":"ID of the consumer which you want to get or push data from"},"x-apideck-app-id":{"type":"string","description":"The ID of your Unify application"},"service_id":{"type":"string","description":"Service ID of the resource to return"},"unified_api":{"type":"string","description":"Unified API"},"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/dev-tools:apideck-vault/connections-token":{"post":{"operationId":"dev_tools_apideck_vault_connections_token","summary":"Get Access Token","description":"POST /vault/connections/{unified_api}/{service_id}/token","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-apideck-consumer-id","x-apideck-app-id","service_id","unified_api"],"properties":{"x-apideck-consumer-id":{"type":"string","description":"ID of the consumer which you want to get or push data from"},"x-apideck-app-id":{"type":"string","description":"The ID of your Unify application"},"service_id":{"type":"string","description":"Service ID of the resource to return"},"unified_api":{"type":"string","description":"Unified API"},"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/dev-tools:apideck-vault/connection-settings-all":{"get":{"operationId":"dev_tools_apideck_vault_connection_settings_all","summary":"Get resource settings","description":"GET /vault/connections/{unified_api}/{service_id}/{resource}/config","tags":["dev-tools"],"parameters":[{"name":"x-apideck-consumer-id","in":"query","required":true,"description":"ID of the consumer which you want to get or push data from","schema":{"type":"string","description":"ID of the consumer which you want to get or push data from"}},{"name":"x-apideck-app-id","in":"query","required":true,"description":"The ID of your Unify application","schema":{"type":"string","description":"The ID of your Unify application"},"example":"dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"},{"name":"unified_api","in":"query","required":true,"description":"Unified API","schema":{"type":"string","description":"Unified API"},"example":"crm"},{"name":"service_id","in":"query","required":true,"description":"Service ID of the resource to return","schema":{"type":"string","description":"Service ID of the resource to return"},"example":"pipedrive"},{"name":"resource","in":"query","required":true,"description":"Name of the resource (plural)","schema":{"type":"string","description":"Name of the resource (plural)"},"example":"leads"}],"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/dev-tools:apideck-vault/connection-settings-update":{"post":{"operationId":"dev_tools_apideck_vault_connection_settings_update","summary":"Update settings","description":"PATCH /vault/connections/{unified_api}/{service_id}/{resource}/config","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-apideck-consumer-id","x-apideck-app-id","service_id","unified_api","resource","body"],"properties":{"x-apideck-consumer-id":{"type":"string","description":"ID of the consumer which you want to get or push data from"},"x-apideck-app-id":{"type":"string","description":"The ID of your Unify application"},"service_id":{"type":"string","description":"Service ID of the resource to return"},"unified_api":{"type":"string","description":"Unified API"},"resource":{"type":"string","description":"Name of the resource (plural)"},"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/dev-tools:apideck-vault/custom-fields-all":{"get":{"operationId":"dev_tools_apideck_vault_custom_fields_all","summary":"Get resource custom fields","description":"GET /vault/connections/{unified_api}/{service_id}/{resource}/custom-fields","tags":["dev-tools"],"parameters":[{"name":"x-apideck-consumer-id","in":"query","required":true,"description":"ID of the consumer which you want to get or push data from","schema":{"type":"string","description":"ID of the consumer which you want to get or push data from"}},{"name":"x-apideck-app-id","in":"query","required":true,"description":"The ID of your Unify application","schema":{"type":"string","description":"The ID of your Unify application"},"example":"dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"},{"name":"unified_api","in":"query","required":true,"description":"Unified API","schema":{"type":"string","description":"Unified API"},"example":"crm"},{"name":"service_id","in":"query","required":true,"description":"Service ID of the resource to return","schema":{"type":"string","description":"Service ID of the resource to return"},"example":"pipedrive"},{"name":"resource","in":"query","required":true,"description":"Name of the resource (plural)","schema":{"type":"string","description":"Name of the resource (plural)"},"example":"leads"}],"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/dev-tools:apideck-vault/connections-example":{"get":{"operationId":"dev_tools_apideck_vault_connections_example","summary":"Get resource example","description":"GET /vault/connections/{unified_api}/{service_id}/{resource}/example","tags":["dev-tools"],"parameters":[{"name":"x-apideck-consumer-id","in":"query","required":true,"description":"ID of the consumer which you want to get or push data from","schema":{"type":"string","description":"ID of the consumer which you want to get or push data from"}},{"name":"x-apideck-app-id","in":"query","required":true,"description":"The ID of your Unify application","schema":{"type":"string","description":"The ID of your Unify application"},"example":"dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"},{"name":"unified_api","in":"query","required":true,"description":"Unified API","schema":{"type":"string","description":"Unified API"},"example":"crm"},{"name":"service_id","in":"query","required":true,"description":"Service ID of the resource to return","schema":{"type":"string","description":"Service ID of the resource to return"},"example":"pipedrive"},{"name":"resource","in":"query","required":true,"description":"Name of the resource (plural)","schema":{"type":"string","description":"Name of the resource (plural)"},"example":"leads"}],"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/dev-tools:apideck-vault/connections-schema":{"get":{"operationId":"dev_tools_apideck_vault_connections_schema","summary":"Get resource schema","description":"GET /vault/connections/{unified_api}/{service_id}/{resource}/schema","tags":["dev-tools"],"parameters":[{"name":"x-apideck-consumer-id","in":"query","required":true,"description":"ID of the consumer which you want to get or push data from","schema":{"type":"string","description":"ID of the consumer which you want to get or push data from"}},{"name":"x-apideck-app-id","in":"query","required":true,"description":"The ID of your Unify application","schema":{"type":"string","description":"The ID of your Unify application"},"example":"dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"},{"name":"unified_api","in":"query","required":true,"description":"Unified API","schema":{"type":"string","description":"Unified API"},"example":"crm"},{"name":"service_id","in":"query","required":true,"description":"Service ID of the resource to return","schema":{"type":"string","description":"Service ID of the resource to return"},"example":"pipedrive"},{"name":"resource","in":"query","required":true,"description":"Name of the resource (plural)","schema":{"type":"string","description":"Name of the resource (plural)"},"example":"leads"}],"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/dev-tools:apideck-vault/consumers-all":{"get":{"operationId":"dev_tools_apideck_vault_consumers_all","summary":"Get all consumers","description":"GET /vault/consumers","tags":["dev-tools"],"parameters":[{"name":"x-apideck-app-id","in":"query","required":true,"description":"The ID of your Unify application","schema":{"type":"string","description":"The ID of your Unify application"},"example":"dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"},{"name":"cursor","in":"query","required":false,"description":"Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.","schema":{"type":"string","description":"Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response."}},{"name":"limit","in":"query","required":false,"description":"Number of results to return. Minimum 1, Maximum 200, Default 20","schema":{"type":"integer","default":20,"description":"Number of results to return. Minimum 1, Maximum 200, Default 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/dev-tools:apideck-vault/consumers-add":{"post":{"operationId":"dev_tools_apideck_vault_consumers_add","summary":"Create consumer","description":"POST /vault/consumers","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-apideck-app-id","body"],"properties":{"x-apideck-app-id":{"type":"string","description":"The ID of your Unify application"},"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/dev-tools:apideck-vault/consumers-one":{"get":{"operationId":"dev_tools_apideck_vault_consumers_one","summary":"Get consumer","description":"GET /vault/consumers/{consumer_id}","tags":["dev-tools"],"parameters":[{"name":"x-apideck-app-id","in":"query","required":true,"description":"The ID of your Unify application","schema":{"type":"string","description":"The ID of your Unify application"},"example":"dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"},{"name":"consumer_id","in":"query","required":true,"description":"ID of the consumer to return","schema":{"type":"string","description":"ID of the consumer to return"},"example":"test_user_id"}],"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/dev-tools:apideck-vault/consumers-update":{"post":{"operationId":"dev_tools_apideck_vault_consumers_update","summary":"Update consumer","description":"PATCH /vault/consumers/{consumer_id}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-apideck-app-id","consumer_id","body"],"properties":{"x-apideck-app-id":{"type":"string","description":"The ID of your Unify application"},"consumer_id":{"type":"string","description":"ID of the consumer to return"},"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/dev-tools:apideck-vault/consumers-delete":{"post":{"operationId":"dev_tools_apideck_vault_consumers_delete","summary":"Delete consumer","description":"DELETE /vault/consumers/{consumer_id}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-apideck-app-id","consumer_id"],"properties":{"x-apideck-app-id":{"type":"string","description":"The ID of your Unify application"},"consumer_id":{"type":"string","description":"ID of the consumer to return"}}}}}},"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/dev-tools:apideck-vault/consumer-request-counts-all":{"get":{"operationId":"dev_tools_apideck_vault_consumer_request_counts_all","summary":"Consumer request counts","description":"GET /vault/consumers/{consumer_id}/stats","tags":["dev-tools"],"parameters":[{"name":"x-apideck-app-id","in":"query","required":true,"description":"The ID of your Unify application","schema":{"type":"string","description":"The ID of your Unify application"},"example":"dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"},{"name":"consumer_id","in":"query","required":true,"description":"ID of the consumer to return","schema":{"type":"string","description":"ID of the consumer to return"},"example":"test_user_id"},{"name":"start_datetime","in":"query","required":true,"description":"Scopes results to requests that happened after datetime","schema":{"type":"string","description":"Scopes results to requests that happened after datetime"},"example":"2025-10-15T13:51:37.193Z"},{"name":"end_datetime","in":"query","required":true,"description":"Scopes results to requests that happened before datetime","schema":{"type":"string","description":"Scopes results to requests that happened before datetime"},"example":"2025-10-15T13:51:37.193Z"}],"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/dev-tools:apideck-vault/custom-mappings-one":{"get":{"operationId":"dev_tools_apideck_vault_custom_mappings_one","summary":"Get custom mapping","description":"GET /vault/custom-mappings/{unified_api}/{service_id}/{target_field_id}","tags":["dev-tools"],"parameters":[{"name":"x-apideck-consumer-id","in":"query","required":true,"description":"ID of the consumer which you want to get or push data from","schema":{"type":"string","description":"ID of the consumer which you want to get or push data from"}},{"name":"x-apideck-app-id","in":"query","required":true,"description":"The ID of your Unify application","schema":{"type":"string","description":"The ID of your Unify application"},"example":"dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"},{"name":"unified_api","in":"query","required":true,"description":"Unified API","schema":{"type":"string","description":"Unified API"},"example":"crm"},{"name":"service_id","in":"query","required":true,"description":"Service ID of the resource to return","schema":{"type":"string","description":"Service ID of the resource to return"},"example":"pipedrive"},{"name":"target_field_id","in":"query","required":true,"description":"ID of the target field to return as a custom mapping.","schema":{"type":"string","description":"ID of the target field to return as a custom mapping."},"example":"hris+employees+first_aid_training"}],"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/dev-tools:apideck-vault/custom-mappings-add":{"post":{"operationId":"dev_tools_apideck_vault_custom_mappings_add","summary":"Create custom mapping","description":"POST /vault/custom-mappings/{unified_api}/{service_id}/{target_field_id}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-apideck-consumer-id","x-apideck-app-id","unified_api","service_id","target_field_id","body"],"properties":{"x-apideck-consumer-id":{"type":"string","description":"ID of the consumer which you want to get or push data from"},"x-apideck-app-id":{"type":"string","description":"The ID of your Unify application"},"unified_api":{"type":"string","description":"Unified API"},"service_id":{"type":"string","description":"Service ID of the resource to return"},"target_field_id":{"type":"string","description":"ID of the target field to return as a custom mapping."},"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/dev-tools:apideck-vault/custom-mappings-update":{"post":{"operationId":"dev_tools_apideck_vault_custom_mappings_update","summary":"Update custom mapping","description":"PATCH /vault/custom-mappings/{unified_api}/{service_id}/{target_field_id}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-apideck-consumer-id","x-apideck-app-id","unified_api","service_id","target_field_id","body"],"properties":{"x-apideck-consumer-id":{"type":"string","description":"ID of the consumer which you want to get or push data from"},"x-apideck-app-id":{"type":"string","description":"The ID of your Unify application"},"unified_api":{"type":"string","description":"Unified API"},"service_id":{"type":"string","description":"Service ID of the resource to return"},"target_field_id":{"type":"string","description":"ID of the target field to return as a custom mapping."},"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/dev-tools:apideck-vault/custom-mappings-delete":{"post":{"operationId":"dev_tools_apideck_vault_custom_mappings_delete","summary":"Deletes a custom mapping","description":"DELETE /vault/custom-mappings/{unified_api}/{service_id}/{target_field_id}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-apideck-consumer-id","x-apideck-app-id","unified_api","service_id","target_field_id"],"properties":{"x-apideck-consumer-id":{"type":"string","description":"ID of the consumer which you want to get or push data from"},"x-apideck-app-id":{"type":"string","description":"The ID of your Unify application"},"unified_api":{"type":"string","description":"Unified API"},"service_id":{"type":"string","description":"Service ID of the resource to return"},"target_field_id":{"type":"string","description":"ID of the target field to return as a custom mapping."}}}}}},"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/dev-tools:apideck-vault/logs-all":{"get":{"operationId":"dev_tools_apideck_vault_logs_all","summary":"Get all consumer request logs","description":"GET /vault/logs","tags":["dev-tools"],"parameters":[{"name":"x-apideck-app-id","in":"query","required":true,"description":"The ID of your Unify application","schema":{"type":"string","description":"The ID of your Unify application"},"example":"dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"},{"name":"x-apideck-consumer-id","in":"query","required":true,"description":"ID of the consumer which you want to get or push data from","schema":{"type":"string","description":"ID of the consumer which you want to get or push data from"}},{"name":"filter","in":"query","required":false,"description":"Filter results","schema":{"type":"object","description":"Filter results"}},{"name":"cursor","in":"query","required":false,"description":"Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.","schema":{"type":"string","description":"Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response."}},{"name":"limit","in":"query","required":false,"description":"Number of results to return. Minimum 1, Maximum 200, Default 20","schema":{"type":"integer","default":20,"description":"Number of results to return. Minimum 1, Maximum 200, Default 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/dev-tools:apideck-vault/connections-revoke":{"get":{"operationId":"dev_tools_apideck_vault_connections_revoke","summary":"Revoke connection","description":"GET /vault/revoke/{service_id}/{application_id}","tags":["dev-tools"],"parameters":[{"name":"service_id","in":"query","required":true,"description":"Service ID of the resource to return","schema":{"type":"string","description":"Service ID of the resource to return"},"example":"pipedrive"},{"name":"application_id","in":"query","required":true,"description":"Application ID of the resource to return","schema":{"type":"string","description":"Application ID of the resource to return"},"example":"dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"},{"name":"state","in":"query","required":true,"description":"An opaque value the applications adds to the initial request that the authorization server includes when redirecting the back to the…","schema":{"type":"string","description":"An opaque value the applications adds to the initial request that the authorization server includes when redirecting the back to the…"},"example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb25zdW1lcl9pZCI6InRlc3RfdXNlcl9pZCIsInVuaWZpZWRfYXBpIjoiZGVmYXVsdCIsInNlcnZpY2VfaWQiOiJ0ZWFtbGVhZGVyIiwiYXBwbGljYXRpb25faWQiOiIxMTExIiwiaWF0IjoxNjIyMTI2Nzg3fQ.97_pn1UAXc7mctXBdr15czUNO1jjdQ9sJUOIE_Myzbk"},{"name":"redirect_uri","in":"query","required":true,"description":"URL to redirect back to after authorization. When left empty the default configured redirect uri will be used.","schema":{"type":"string","description":"URL to redirect back to after authorization. When left empty the default configured redirect uri will be used."},"example":"http://example.com/integrations"}],"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/dev-tools:apideck-vault/sessions-create":{"post":{"operationId":"dev_tools_apideck_vault_sessions_create","summary":"Create Session","description":"POST /vault/sessions","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-apideck-consumer-id","x-apideck-app-id"],"properties":{"x-apideck-consumer-id":{"type":"string","description":"ID of the consumer which you want to get or push data from"},"x-apideck-app-id":{"type":"string","description":"The ID of your Unify application"},"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":"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"}}}}}}}