Domains-domainName-contactverification:GET
From Hostway API Documentation
(Difference between revisions)
Mike.robski (Talk | contribs) (Please don't add internal comments in the page - this will be transferred to the public site) |
Mike.robski (Talk | contribs) m (1 revision: Release 100) |
||
(One intermediate revision by one user not shown) | |||
Line 3: | Line 3: | ||
Or | Or | ||
Get will send a verification email for {domainName} | Get will send a verification email for {domainName} | ||
+ | |||
+ | *[This page requires more explanatory detail and examples]* | ||
__TOC__ | __TOC__ |
Latest revision as of 23:09, 18 November 2014
[edit] GET /domains/{domainName}/contactverification
Get the status of the contactverification for {domainName} Or Get will send a verification email for {domainName}
- [This page requires more explanatory detail and examples]*
Contents |
[edit] Request
GET /domains/{domainName}/contactverification
[edit] Parameters
- action
- The action GET will take.
- info | sendVerificationEmail
[edit] URI Parameters
- domainName - string
- The domain name. IE: example.com is a valid domain name, whereas http://www.example.com or www.example.com are not. If the domain name is invalid, or is otherwise not registerable such as for a non-existent or non-supported TLD, an error will be returned. Domain names are case insensitive. The domain name must be an open or suspended product under the authenticated franchise.
[edit] Request Headers
None.
[edit] Request Body
None.
[edit] Response
[edit] Status Code
- 200 OK
- Returns contact verification status when action=info
- 204 No Content
- when action=sendVerificationEmail
[edit] Response Body
{ "verificationStatus":"pending" }
[edit] Response parameters
- verificationStatus - string
- "Verified", "Cancelled", "Queued, Pending Verification", "Queue Expired", "Pending Suspension", "Suspended"
[edit] Example getting contact verification status for a domain.
Request
GET /domains/example.com/contactverification?action=info
Response
200 OK Content-Type: application/json; charset=UTF-8 {"verificationStatus": "pending"}
[edit] Example sending contact verification for a domain.
Request
GET /domains/example.com/contactverification?action=sendVerificationEmail
Response
204 No Content
[edit] See also