Skip to content

Test Smtp

POST
/api/outreach/smtp/test
curl --request POST \
--url http://localhost:8000/api/outreach/smtp/test \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "to_email": "example" }'
x-workspace-id
Any of:
string
Media typeapplication/json
SendTestRequest
object
to_email
required
To Email
string
Examplegenerated
{
"to_email": "example"
}

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}