1. Integrations
mailfloss API
  • Verification
    • Verify a single email address
      GET
  • Batch
    • Submit a batch of emails for async verification
      POST
    • Get batch job status
      GET
    • Get batch job results (paginated)
      GET
    • Cancel a batch verification job
      POST
    • List verification jobs
      GET
    • Get a verification job
      GET
  • Account
    • Account activity timeline
      GET
    • Verify an API key
      GET
    • Read the authenticated account holder
      GET
    • Update the authenticated account holder
      PATCH
    • Read the authenticated organization
      GET
  • Team
    • List team members
      GET
    • Get the account owner as a team member
      GET
    • Get a team member
      GET
  • Reports
    • Get verification usage analytics
  • Webhooks
    • List webhook subscriptions
    • Create a webhook subscription
    • Get a webhook subscription
    • Update a webhook subscription
    • Delete a webhook subscription
  • Integrations
    • List all integrations (connected + disconnected)
      GET
    • Read one integration with all of its connections
      GET
    • Connect a new connection (with credentials)
      POST
    • Read one connection
      GET
    • Update a connection's settings
      PATCH
    • Disconnect a connection
      DELETE
    • Re-sync a connection's audiences
      POST
    • Test a connection's credentials
      POST
    • List a connection's keyword rules
      GET
    • Add keyword rules
      POST
    • Delete a keyword rule
      DELETE
  • Privacy
    • Erase stored verification records (data privacy)
  • Schemas
    • ErrorEnvelope
  1. Integrations

Test a connection's credentials

POST
/v1/integrations/{type}/connections/{id}/test
Checks whether a connection's stored credentials still work — a live, read-only probe against the ESP that writes nothing. Returns 200 with { credential_valid, tested_at }: true if the ESP accepted the key just now, or false (plus a reason) if it rejected them — a rejected key is still a successful test, not an error. Only an ESP we couldn't reach surfaces as 503 (the result is genuinely unknown). A connection id that does not exist or belongs to another org → 404; a type that can't be managed via the API → 422 unsupported_integration. Ideal for an "is my integration healthy?" check before relying on it. Do NOT send an Idempotency-Key with this endpoint — it is a live probe, and a replayed cached result would defeat the point (poll it fresh each time).

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params

Responses

🟢200
application/json
Credential test result
Bodyapplication/json

🟠401
🟠403
🟠404
🟠422
🟠429
🔴500
🔴503
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.mailfloss.com/v1/integrations//connections//test' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Success
{
    "id": "conn_5d4c3b2a1e0f9z",
    "type": "klaviyo",
    "credential_valid": true,
    "tested_at": "2026-06-20T14:30:00Z"
}
Modified at 2026-10-20 13:54:45
Previous
Re-sync a connection's audiences
Next
List a connection's keyword rules
Built with