Send test email to email inbox

Sends test email to email inbox

Requires the user to havemanage-email-inboxpermission.

URLRequires AuthHTTP Method

api/v1/email-inbox.send-test/:_id

yes

GET

Path Variable

ArgumentExampleRequiredDescription

_id

60197e8ff82d6c83b96c53ff

Required

Email inbox id

Example Call

curl -L -X POST 'https://multiverse.rocket.chat/api/v1/email-inbox.send-test/60197e8ff82d6c83b96c53ff' \
-H 'X-User-Id: Dtx5kwoQJGYQSw3Qh' \
-H 'X-Auth-Token: do7rPm9t63Iqil5K5wbj3YBXUstAqo-GSKTcGSdDTtl' \

Result

Success

{
    "_id": "60197e8ff82d6c83b96c53ff",
    "success": true
}

Errors

The following error can occur upon the endpoint.

  • Authorization: Requires an authentication token for the request to be made.

  • Permission: Requires the user to have manage-email-inbox permission for the request to be made.

{
    "status": "error",
    "message": "You must be logged in to do this."
}

Change Log

VersionDescription

3.11.0-rc.0

Added

Last updated

Rocket.Chat versions receive support for six months after release.