Retrieving a list of custom tracking domains requires specific syntax for the REST API.
Associated API Topics
REST Syntax
Click to view all Email REST Resources |
NOTE: API is case sensitive. Make all [PARAMS] and RETURN-TYPE entries lower case. |
GET/domains -- Retrieves a list of custom tracking domains.HTTP Action -- GETURIs -- http://emailapi.dynect.net/rest/RETURN-TYPE/domainsClick for RETURN-TYPE information |
Arguments [PARAMS] -- Click for More Infoapikey — Required. API key of the account with the desired information.
|
Response -- Click for More Info- 200 - OK
- The action was successful.
- 451 - Missing or Invalid API Key
- The API key is either missing or incorrect. Reconfirm the API key or, if necessary, you can generate (or regenerate) an API key from the Accounts page of the Control Panel.
- 452 - Missing or Invalid Required Fields
- Any field marked "Required" must have an entry in the arguments section of the API request. This error could also come up if any values supplied are invalid (i.e., letters instead of numbers, invalid postback URL format, etc.).
- 503 - Service Unavailable
- The server is currently unavailable. It could be overloaded or down for maintenance, but this is just temporary. Try the request again in a short while.
|
Example Results (JSON)
{"response":{"status":200,"message":"OK","data":{"emailaddress":"example@domain.com","spf":1,"dkim":1,"dkimval":"private"}}}