{"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/communication:twilio-twilio-content-v1/create-approval-create":{"post":{"operationId":"communication_twilio_twilio_content_v1_create_approval_create","summary":"Create Content Approval Request","description":"POST /v1/Content/{ContentSid}/ApprovalRequests/whatsapp","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ContentSid","body"],"properties":{"ContentSid":{"type":"string"},"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/communication:twilio-twilio-content-v1/fetch-approval-fetch":{"get":{"operationId":"communication_twilio_twilio_content_v1_fetch_approval_fetch","summary":"Fetch Approval Status","description":"GET /v1/Content/{Sid}/ApprovalRequests","tags":["communication"],"parameters":[{"name":"Sid","in":"query","required":true,"description":"The Twilio-provided string that uniquely identifies the Content resource whose approval information to fetch.","schema":{"type":"string","description":"The Twilio-provided string that uniquely identifies the Content resource whose approval information to fetch."}}],"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/communication:twilio-twilio-content-v1/fetch-content":{"get":{"operationId":"communication_twilio_twilio_content_v1_fetch_content","summary":"Fetch Content","description":"GET /v1/Content/{Sid}","tags":["communication"],"parameters":[{"name":"Sid","in":"query","required":true,"description":"The Twilio-provided string that uniquely identifies the Content resource to fetch.","schema":{"type":"string","description":"The Twilio-provided string that uniquely identifies the Content resource to fetch."}}],"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/communication:twilio-twilio-content-v1/update-content":{"post":{"operationId":"communication_twilio_twilio_content_v1_update_content","summary":"Update Content","description":"PUT /v1/Content/{Sid}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Sid","body"],"properties":{"Sid":{"type":"string","description":"The Twilio-provided string that uniquely identifies the Content resource 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/communication:twilio-twilio-content-v1/delete-content":{"post":{"operationId":"communication_twilio_twilio_content_v1_delete_content","summary":"Delete Content","description":"DELETE /v1/Content/{Sid}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Sid"],"properties":{"Sid":{"type":"string","description":"The Twilio-provided string that uniquely identifies the Content resource to fetch."}}}}}},"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/communication:twilio-twilio-content-v1/list-content":{"get":{"operationId":"communication_twilio_twilio_content_v1_list_content","summary":"List Contents","description":"GET /v1/Content","tags":["communication"],"parameters":[{"name":"PageSize","in":"query","required":false,"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","schema":{"type":"integer","description":"How many resources to return in each list page. The default is 50, and the maximum is 1000."}},{"name":"Page","in":"query","required":false,"description":"The page index. This value is simply for client state.","schema":{"type":"integer","description":"The page index. This value is simply for client state."}},{"name":"PageToken","in":"query","required":false,"description":"The page token. This is provided by the API.","schema":{"type":"string","description":"The page token. This is provided by the 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":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:twilio-twilio-content-v1/create-content":{"post":{"operationId":"communication_twilio_twilio_content_v1_create_content","summary":"Create Content","description":"POST /v1/Content","tags":["communication"],"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/communication:twilio-twilio-content-v1/list-content-and-approvals":{"get":{"operationId":"communication_twilio_twilio_content_v1_list_content_and_approvals","summary":"List Content Approvals","description":"GET /v1/ContentAndApprovals","tags":["communication"],"parameters":[{"name":"PageSize","in":"query","required":false,"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","schema":{"type":"integer","description":"How many resources to return in each list page. The default is 50, and the maximum is 1000."}},{"name":"Page","in":"query","required":false,"description":"The page index. This value is simply for client state.","schema":{"type":"integer","description":"The page index. This value is simply for client state."}},{"name":"PageToken","in":"query","required":false,"description":"The page token. This is provided by the API.","schema":{"type":"string","description":"The page token. This is provided by the 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":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/communication:twilio-twilio-content-v1/list-legacy-content":{"get":{"operationId":"communication_twilio_twilio_content_v1_list_legacy_content","summary":"List Legacy Contents","description":"GET /v1/LegacyContent","tags":["communication"],"parameters":[{"name":"PageSize","in":"query","required":false,"description":"How many resources to return in each list page. The default is 50, and the maximum is 1000.","schema":{"type":"integer","description":"How many resources to return in each list page. The default is 50, and the maximum is 1000."}},{"name":"Page","in":"query","required":false,"description":"The page index. This value is simply for client state.","schema":{"type":"integer","description":"The page index. This value is simply for client state."}},{"name":"PageToken","in":"query","required":false,"description":"The page token. This is provided by the API.","schema":{"type":"string","description":"The page token. This is provided by the 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":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":"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"}}}}}}}