{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/temp-mail:mail-tm/create":{"get":{"operationId":"temp_mail_mail_tm_create","summary":"Create Inbox","description":"Create a random mailbox. Keep the returned token (or password) to read the inbox.","tags":["temp-mail"],"parameters":[{"name":"domain","in":"query","required":false,"description":"Specific domain to use; defaults to the first active one","schema":{"type":"string","description":"Specific domain to use; defaults to the first active one"}}],"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":"live"}},"/v1/temp-mail:mail-tm/inbox/{address}":{"get":{"operationId":"temp_mail_mail_tm_inbox","summary":"Inbox","description":"List messages of a mailbox created with the create endpoint.","tags":["temp-mail"],"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string"},"example":"abc123@example.com"},{"name":"token","in":"query","required":false,"description":"Bearer token returned by create","schema":{"type":"string","description":"Bearer token returned by create"}},{"name":"password","in":"query","required":false,"description":"Mailbox password (used to obtain a token if none given)","schema":{"type":"string","description":"Mailbox password (used to obtain a token if none given)"}},{"name":"full","in":"query","required":false,"description":"Also fetch the body of each message (max 10)","schema":{"type":"boolean","default":false,"description":"Also fetch the body of each message (max 10)"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"minimum":1,"maximum":100}}],"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":"live"}},"/v1/temp-mail:mail-tm/message/{id}":{"get":{"operationId":"temp_mail_mail_tm_message","summary":"Message","description":"Read one message (text + HTML body).","tags":["temp-mail"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"address","in":"query","required":true,"schema":{"type":"string"}},{"name":"token","in":"query","required":false,"schema":{"type":"string"}},{"name":"password","in":"query","required":false,"schema":{"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":"live"}}},"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"}}}}}}}