{"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-iam-v1/list-get-keys":{"get":{"operationId":"communication_twilio_iam_v1_list_get_keys","summary":"Retrieve a list of all Keys for a account.","description":"GET /v1/Keys","tags":["communication"],"parameters":[{"name":"AccountSid","in":"query","required":true,"description":"The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Payments resource.","schema":{"type":"string","description":"The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Payments resource."}},{"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-iam-v1/create-new-key":{"post":{"operationId":"communication_twilio_iam_v1_create_new_key","summary":"Create a new Signing Key for the account making the request.","description":"POST /v1/Keys","tags":["communication"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"Form fields as a JSON 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":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:twilio-iam-v1/fetch-key":{"get":{"operationId":"communication_twilio_iam_v1_fetch_key","summary":"Fetch a specific Key.","description":"GET /v1/Keys/{Sid}","tags":["communication"],"parameters":[{"name":"Sid","in":"query","required":true,"description":"The Twilio-provided string that uniquely identifies the Key resource to fetch.","schema":{"type":"string","description":"The Twilio-provided string that uniquely identifies the Key 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-iam-v1/update-key":{"post":{"operationId":"communication_twilio_iam_v1_update_key","summary":"Update a specific Key.","description":"POST /v1/Keys/{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 Key resource to update."},"body":{"type":"object","description":"Form fields as a JSON 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":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:twilio-iam-v1/delete-key":{"post":{"operationId":"communication_twilio_iam_v1_delete_key","summary":"Delete a specific Key.","description":"DELETE /v1/Keys/{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 Key resource to delete."}}}}}},"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-iam-v1/list-role-permission":{"get":{"operationId":"communication_twilio_iam_v1_list_role_permission","summary":"List resolved permissions for a role","description":"GET /v1/Roles/{RoleSid}/Permissions","tags":["communication"],"parameters":[{"name":"RoleSid","in":"query","required":true,"description":"The SID of the Role for which Permissions will be fetched.","schema":{"type":"string","description":"The SID of the Role for which Permissions will be fetched."}},{"name":"PageSize","in":"query","required":false,"description":"How many resources to return in each list page. The default is 50, and the maximum is 100.","schema":{"type":"integer","description":"How many resources to return in each list page. The default is 50, and the maximum is 100."}},{"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-iam-v1/create-token":{"post":{"operationId":"communication_twilio_iam_v1_create_token","summary":"Issues a new Access token (optionally identity_token & refresh_token) in exchange of Oauth grant","description":"POST /v1/token","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"Form fields as a JSON 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":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/communication:twilio-iam-v1/update-oauth-app-account":{"post":{"operationId":"communication_twilio_iam_v1_update_oauth_app_account","summary":"Updates an existing OAuth app for the given OauthAppSid","description":"PUT /v1/Account/OAuthApps/{sid}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["sid","body"],"properties":{"sid":{"type":"string","description":"Unique ID (sid) of the OAuth app"},"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-iam-v1/delete-oauth-app-account":{"post":{"operationId":"communication_twilio_iam_v1_delete_oauth_app_account","summary":"Deletes an oauth app for the given AccountSid","description":"DELETE /v1/Account/OAuthApps/{sid}","tags":["communication"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["sid"],"properties":{"sid":{"type":"string","description":"Unique ID (sid) of the OAuth app"}}}}}},"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-iam-v1/create-oauth-app-account":{"post":{"operationId":"communication_twilio_iam_v1_create_oauth_app_account","summary":"Creates an oauth app for the given AccountSid","description":"POST /v1/Account/OAuthApps","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"}}},"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"}}}}}}}