Spam Testing
List Spam Tests (V1)
Returns a paginated list of all spam tests for the account, ordered by created_at desc. Supports filtering by status and region.
get/v1/inspect/spam
Request
- Base URLhttps://api.mailgun.net
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
status'pending' | 'processing' | 'completed' | 'failed'
Filter by spam test lifecycle status
region'us1' | 'eu1'
Filter by sending region
sort_by'created_at' | 'updated_at'
Field to sort by
sort_order'desc' | 'asc'
Sort direction
limitinteger required
Limits the number of items returned in a request
Response
A 200 response
Changes
No recorded changes to this operation across all 1 revision of this API.