RobutlerRobutler
API ReferencePlatform API

List domain verifications

GET
/api/domains

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X GET "https://robutler.ai/api/domains"
{
  "verifications": [
    {
      "id": "string",
      "domain": "string",
      "method": "dns",
      "status": "pending",
      "verificationCode": "string",
      "channelId": "string",
      "verifiedAt": "2019-08-24T14:15:22Z",
      "expiresAt": "2019-08-24T14:15:22Z",
      "createdAt": "2019-08-24T14:15:22Z"
    }
  ]
}

Initiate domain verification

POST
/api/domains

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://robutler.ai/api/domains" \  -H "Content-Type: application/json" \  -d '{    "domain": "string",    "method": "dns"  }'
{
  "success": true,
  "verification": {
    "id": "string",
    "domain": "string",
    "method": "dns",
    "status": "pending",
    "verificationCode": "string",
    "channelId": "string",
    "verifiedAt": "2019-08-24T14:15:22Z",
    "expiresAt": "2019-08-24T14:15:22Z",
    "createdAt": "2019-08-24T14:15:22Z"
  },
  "instructions": "string",
  "channelSlug": "string"
}
Empty

Check domain verification

POST
/api/domains/{id}/check

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Verification ID

Response Body

application/json

curl -X POST "https://robutler.ai/api/domains/string/check"
{
  "success": true,
  "status": "verified",
  "message": "string",
  "channel": {
    "id": "string",
    "name": "string",
    "slug": "string"
  }
}

On this page