We will deprecate this version on February 10, 2025. To access all the latest features and upcoming developments, please see our v3 API. For assistance with transitioning, refer to our migration guide.
URI Parameter | Required | Requirements | Description |
---|---|---|---|
task | Yes | Must be set to get | Task to retrieve bounces |
user | Yes | Subuser must be under your account | Subuser to retrieve bounces of |
date | No | 0 or 1 | Optional argument to retrieve the timestamps, in ISO-8601 format, Pacific Timezone: YYYY-MM-DD HH:MM:SS |
POST | https://api.sendgrid.com/api/user.bounces.json |
---|---|
POST Data | api_user=your_sendgrid_username&api_key=your_sendgrid_password&user=subuser_username&task=get&date=1 |
1[2{3"email": "emaieexampexample@example.com",4"status": "5.1.1",5"reason": "550 5.1.1 unknown or illegal user: emaieexampexample@example.com",6"created": "2014-12-06 08:34:48"7},8{9"email": "emaileexampexample@example.com",10"status": "5.1.1",11"reason": "550 5.1.1 The email account that you tried to reach does not exist. Please try double-checking the recipient's email address for typos or unnecessary spaces. Learn more at http:\/\/support.google.com\/mail\/bin\/answer.py?answer=6596 qy3si50924603pab.12 - gsmtp ",12"created": "2014-12-06 08:36:34"13}14]
SendGrid suppresses messages to bounced addresses, but entries can be removed from the suppression list at any time if redelivery to a bounced address is desired. Take care that the address should be redelivered to.
URI Parameter | Required | Requirements | Description |
---|---|---|---|
task | Yes | Must be set to delete | Task to remove address from bounce suppression list |
user | Yes | Subuser must be under your account | Subuser to retrieve bounces of |
Yes | Address exists on the list | Address to remove from the Bounce suppression list |