POST/partners/customers/verify-domain

Checks the validity of a domain.

Authorization

oauth2

OAuth 2.0 authentication.
For more information, see Authentication and Authorization.

Scope

partner

HTTP Request

POSThttps://www.worksapis.com/v1.0/partners/customers/verify-domain

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Request Body

PropertyTypeDescription
domain string 

Domain name


required
minLength : 2
maxLength : 22 

Request Example

example

1{2  "domain": "example.com"3}

Response

HTTP 200

OK

PropertyTypeDescription
domain string 

Domain name


required 
type string 

Domain type

  • DOMAIN: Domain
  • GROUP: Group

required
Allowed values : DOMAIN, GROUP 

Response Example

example

1{2  "domain": "example.com",3  "type": "DOMAIN"4}

HTTP 400

Bad request