Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

Parse Settings


(warning)

This documentation is for the SendGrid Web API v2

To access all the latest features and upcoming developments, please see our v3 API.

(information)

Info

Please refer to the Parse Documentation for documentation on Parse.


Get Current Settings

get-current-settings page anchor
URI ParameterRequiredRequirementsDescription
taskYesMust be set to getTask to retrieve Parse records
userYesSubuser must be under your accountThe subuser to retrieve records for
JSONXML

Call

POSThttps://api.sendgrid.com/apiv2/customer.parse.json
POST Dataapi_user=your_sendgrid_username&api_key=your_sendgrid_password&task=get&user=subuser_username

Response


_14
{
_14
"parse": [
_14
{
_14
"hostname": "parse.example1.com",
_14
"url": "www.mydomain.com/parse.php",
_14
"spam_check": 1
_14
},
_14
{
_14
"hostname": "parse.example2.com",
_14
"url": "www.mydomain.com/parse.php",
_14
"spam_check": 0
_14
}
_14
]
_14
}


URI ParameterRequiredRequirementsDescription
taskYesMust be set to setTask to set Parse record
userYesSubuser must be under your accountThe subuser setup parse on
hostnameYesValid DNS entryHostname to catch email from. Must have mx record
urlYesValid POST URLThe URL to POST the Parse data
JSONXML
POSThttps://api.sendgrid.com/apiv2/customer.parse.json
POST Dataapi_user=your_sendgrid_username&api_key=your_sendgrid_password&hostname=www.example.com&url=www.mydomain.com/parse.php&spam_check=1&task=set&user=subuser_username

_10
{
_10
"message": "success"
_10
}


URI ParameterRequiredRequirementsDescription
taskYesMust be set to updateTask to edit Parse record
userYesSubuser must be under your accountThe subuser who owns the Parse record to update
hostnameYesNo more than 255 charactersHostname entry you want to update
urlYesValid POST URLThe new URL to POST the Parse data
JSONXML
POSThttps://api.sendgrid.com/apiv2/customer.parse.json
POST Dataapi_user=your_sendgrid_username&api_key=your_sendgrid_password&hostname=www.example.com&url=www.mydomain.com/parse.php&spam_check=1&task=update&user=subuser_username

_10
{
_10
"message": "success"
_10
}


URI ParameterRequiredRequirementsDescription
taskYesMust be set to deleteTask to delete Parse record
userYesSubuser must be under your accountThe subuser who owns the Parse record being removed.
hostnameYesMust be an existing hostname on the userThe Parse record to remove
JSONXML
POSThttps://api.sendgrid.com/apiv2/customer.parse.json
POST Dataapi_user=your_sendgrid_username&api_key=your_sendgrid_password&hostname=www.example.com&task=delete&user=subuser_username

_10
{
_10
"message": "success"
_10
}


Rate this page: