Get SMTP Sink Credential
Get one SMTP sink credential by ID.
Get one SMTP sink credential by ID.
These credentials don't send email. SMTP sink credentials belong to the Maileroo Sandbox (Email Testing Platform). Your app uses them to connect to the sandbox SMTP sink, which intercepts and captures test emails instead of delivering them. To send real email, use SMTP Relay or the Email API.
Scope: email_testing.credentials.read
Path Parameters
idstringrequiredThe ID of the SMTP sink credential, as returned by List SMTP Sink Credentials or when you create the credential.
Sample Request
Request
curl "https://api.maileroo.com/v1/email-testing/smtp-credentials/f47ac10b-58cc-4372-a567-0e02b2c3d479" \
-H "Authorization: Bearer roo_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Sample Response
The response is wrapped in a data object.
Response
{
"data": {
"id": "19af8047-b6aa-4a0e-85aa-22bd4a734114",
"account_id": "12345",
"username": "a1b2c3d4e5f6",
"host": "smtp.sandbox.maileroo.io",
"port": 587,
"status": "active",
"created_at": "2025-01-01T12:00:00Z"
}
}Errors
404 Not Found— the resource does not exist or is not owned by the account.