resend / action / schema v1
Retrieve a list of emails
Retrieve a list of emails
Prerequisites
- Add the resend plugin inside this workflow.
Parameters
| Parameter | Type | Description |
|---|---|---|
Bearer Tokentoken | text Required | Your Resend API key |
Limitlimit | number Optional | |
Afterafter | text Optional | |
Beforebefore | text Optional |
Inputs and outputs
Inputs
execute- Execute (input)
Outputs
done- Done (output)object- Type of the response object. (output)has_more- Indicates if there are more results available. (output)data- Array containing email information. (output)error- Error (output)
Output data schema
[
{
"key": "object",
"type": "string",
"description": "Type of the response object.",
"label": "Type of the response object.",
"optional": true
},
{
"key": "has_more",
"type": "boolean",
"description": "Indicates if there are more results available.",
"label": "Indicates if there are more results available.",
"optional": true
},
{
"key": "data",
"type": "array",
"description": "Array containing email information.",
"label": "Array containing email information.",
"optional": true,
"items": {
"key": "item",
"type": "object",
"fields": [
{
"key": "object",
"type": "string",
"description": "The type of object.",
"label": "The type of object.",
"optional": true
},
{
"key": "id",
"type": "string",
"description": "The ID of the email.",
"label": "The ID of the email.",
"optional": true
},
{
"key": "message_id",
"type": "string",
"description": "The Message-ID header value of the email.",
"label": "The Message-ID header value of the email.",
"optional": true
},
{
"key": "to",
"type": "array",
"optional": true,
"items": {
"key": "item",
"type": "string",
"description": "The email addresses of the recipients.",
"label": "The email addresses of the recipients."
}
},
{
"key": "from",
"type": "string",
"description": "The email address of the sender.",
"label": "The email address of the sender.",
"optional": true
},
{
"key": "created_at",
"type": "string",
"description": "The date and time the email was created.",
"label": "The date and time the email was created.",
"optional": true
},
{
"key": "subject",
"type": "string",
"description": "The subject line of the email.",
"label": "The subject line of the email.",
"optional": true
},
{
"key": "html",
"type": "string",
"description": "The HTML body of the email.",
"label": "The HTML body of the email.",
"optional": true
},
{
"key": "text",
"type": "string",
"description": "The plain text body of the email.",
"label": "The plain text body of the email.",
"optional": true
},
{
"key": "bcc",
"type": "array",
"description": "The email addresses of the blind carbon copy recipients.",
"label": "The email addresses of the blind carbon copy recipients.",
"optional": true,
"items": {
"key": "item",
"type": "string"
}
},
{
"key": "cc",
"type": "array",
"description": "The email addresses of the carbon copy recipients.",
"label": "The email addresses of the carbon copy recipients.",
"optional": true,
"items": {
"key": "item",
"type": "string"
}
},
{
"key": "reply_to",
"type": "array",
"description": "The email addresses to which replies should be sent.",
"label": "The email addresses to which replies should be sent.",
"optional": true,
"items": {
"key": "item",
"type": "string"
}
},
{
"key": "last_event",
"type": "any",
"description": "The status of the email.",
"label": "The status of the email.",
"optional": true
}
]
}
}
]Examples and troubleshooting have not yet been reviewed for this contract.
Version and compatibility
This reference follows the current authoring contract. Existing workflows retain their saved node revisions.
Contract identifier
eb6dc160fc67bcf2e5ca27ba717cdee02db438fc6d26ec222752ebd075d4e080