Zyntra API (1.0.0)
Download OpenAPI specification:Download
API for temporary mail with authorization via API keys
Retrieve a list of emails for a mailbox
Authorizations:
apiKeyAuth
query Parameters
inbox required | |
skip | integer Default: 0 Example: skip=0 |
limit | integer Default: 20 Example: limit=20 |
Responses
Response samples
- 200
Content type
application/json
[- {
- "uuid": "550e8400-e29b-41d4-a716-446655440000",
- "subject": "Your verification code",
- "received_at": "2025-02-20T12:34:56Z",
- "preview": "Hello there!\nYour code is 123456."
}
]
Retrieve a specific email
Authorizations:
apiKeyAuth
query Parameters
message_uuid required | string Example: message_uuid=550e8400-e29b-41d4-a716-446655440000 |
Responses
Response samples
- 200
Content type
application/json
{- "subject": "Your verification code",
- "body": "Sample text\n",
- "html": null,
- "text_as_html": "<p>Sample text</p>",
- "received_at": "2025-03-25T04:41:53.816Z",
- "to_json": {
- "html": "string",
- "text": "string",
- "value": [
- {
- "name": "string",
- "address": "string"
}
]
}, - "from_json": {
- "html": "string",
- "text": "string",
- "value": [
- {
- "name": "string",
- "address": "string"
}
]
}, - "cc_json": { },
- "bcc_json": { },
- "headers": { },
- "attachments_uuid": [
- "e1a86c9d-9c2a-4a75-8ef9-a394ef8f1342",
- "d91980ad-2eac-4f3a-9101-02ed34d58a83"
],
}
Get the last received email
Retrieves the most recent email received for a specified inbox.
Authorizations:
apiKeyAuth
query Parameters
email required |
Responses
Response samples
- 200
Content type
application/json
{- "subject": "Your verification code",
- "body": "Sample text\n",
- "html": null,
- "text_as_html": "<p>Sample text</p>",
- "received_at": "2025-03-25T04:41:53.816Z",
- "to_json": {
- "html": "string",
- "text": "string",
- "value": [
- {
- "name": "string",
- "address": "string"
}
]
}, - "from_json": {
- "html": "string",
- "text": "string",
- "value": [
- {
- "name": "string",
- "address": "string"
}
]
}, - "cc_json": { },
- "bcc_json": { },
- "headers": { },
- "attachments_uuid": [
- "e1a86c9d-9c2a-4a75-8ef9-a394ef8f1342",
- "d91980ad-2eac-4f3a-9101-02ed34d58a83"
],
}
Retrieve a list of email attachments
Returns a list of all attachments for the specified email.
Authorizations:
apiKeyAuth
query Parameters
message_uuid required | string Example: message_uuid=abcd1234-5678-90ef-ghij-klmnopqrstuv |
Responses
Response samples
- 200
Content type
application/json
[- {
- "uuid": "cf94e7b7-35cb-4648-946c-560acd45e145",
- "filename": "favicon.png",
- "mime_type": "image/png"
}
]