Tests
Forward
Mock endpoint that simulates email forwarding with sample data
POST
/
v1
/
processors
/
automations
/
mailboxes
/
tests
/
forward
/
{email}
Copy
curl --request POST \
--url https://api.uiform.com/v1/processors/automations/mailboxes/tests/forward/{email} \
--header 'Content-Type: application/json' \
--data '{
"document": {
"filename": "file.pdf",
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIA..."
}
}'
Copy
{
"id": "<string>",
"tree_id": "<string>",
"subject": "<string>",
"body_plain": "<string>",
"body_html": "<string>",
"sender": {
"email": "<string>",
"display_name": "<string>"
},
"recipients_to": [
{
"email": "<string>",
"display_name": "<string>"
}
],
"recipients_cc": [],
"recipients_bcc": [],
"sent_at": "2023-11-07T05:31:56Z",
"received_at": "2023-11-07T05:31:56Z",
"in_reply_to": "<string>",
"references": [],
"headers": {},
"url": "<string>",
"attachments": []
}
Authorizations
Path Parameters
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
Copy
curl --request POST \
--url https://api.uiform.com/v1/processors/automations/mailboxes/tests/forward/{email} \
--header 'Content-Type: application/json' \
--data '{
"document": {
"filename": "file.pdf",
"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIA..."
}
}'
Copy
{
"id": "<string>",
"tree_id": "<string>",
"subject": "<string>",
"body_plain": "<string>",
"body_html": "<string>",
"sender": {
"email": "<string>",
"display_name": "<string>"
},
"recipients_to": [
{
"email": "<string>",
"display_name": "<string>"
}
],
"recipients_cc": [],
"recipients_bcc": [],
"sent_at": "2023-11-07T05:31:56Z",
"received_at": "2023-11-07T05:31:56Z",
"in_reply_to": "<string>",
"references": [],
"headers": {},
"url": "<string>",
"attachments": []
}
Assistant
Responses are generated using AI and may contain mistakes.