πŸ‘€Profile Registries

  1. Create Registrant

  • POST /api/v1/reseller-logic/registrant

This API endpoint allows users to create a registrant.

Request Headers

Name

Description

Authorization

Required: Bearer {Authorization}

Request Body

{
  "name": "Test-Registrant",
  "organization": "Goodcode",
  "street": "via Rime 33",
  "city": "Mendrisio",
  "postalCode": "6826",
  "country": "Switzerland",
  "phone": "+41782711212",
  "fax": "",
  "email": "goodcode@gmail.com",
  "web": "",
  "dnsSec": "",
  "walletAddress": "312317x1312321"
}

Response

201 Created

{
    "timestamp": "2024-05-29T11:41:41.003547",
    "data": {
        "uuid": "3b39ee47-3d9a-4c42-b119-14325d518dc7",
        "name": "test-registrant-2",
        "organization": "testorg",
        "street": "testorg",
        "city": "testorg",
        "postalCode": "testorg",
        "country": "testorg",
        "phone": "testorg",
        "fax": "testorg",
        "email": "testorg@gmail.com",
        "web": "testorg",
        "dnsSec": "testorg",
        "walletAddress": "testorg"
    }
}
  1. Fetch Registrars

  • GET /api/v1/reseller-logic/registrar

This API endpoint allows users to fetch all registrars.

Request Headers

Name

Description

Bearer Token

[Required] The authorization token for accessing the API.

Response

200 OK

{
    "timestamp": "2024-06-18T16:18:38.656077",
    "size": 10,
    "data": [
        {
            "uuid": "81a64953-dd98-423f-85ee-cec7f36f54dd",
            "type": "REGISTRAR",
            "name": "Unstoppable Domains",
            "organization": "Unstoppable Domains Inc.",
            "street": " 8465 W Sahara Ave Ste 111",
            "city": "Las Vegas",
            "postalCode": "NV 89117",
            "country": "United States",
            "phone": "",
            "fax": "",
            "email": "support@unstoppabledomains.com",
            "web": "https://unstoppabledomains.com",
            "walletAddress": "0xDA4f3b40Ad025DF3516C345919cff348F285e507"
        },
        {
            "uuid": "135336e1-c204-41bf-98d1-252ed3d25bd2",
            "type": "REGISTRAR",
            "name": "ENS Domains",
            "organization": "ENS Domains",
            "street": "Central Region",
            "city": "Singapore",
            "country": "Singapore",
            "phone": "+1 866 757 9231",
            "email": "press@ens.domains\n",
            "web": "https://ens.domains",
            "walletAddress": "0x4Fe4e666Be5752f1FdD210F4Ab5DE2Cc26e3E0e8"
        },
        ...
    ]
}
  1. Fetch Profile Registry by Wallet Address

  • GET /api/v1/reseller-logic/profile-registry/{walletAddress}

This API endpoint allows to fetch a profile registry by wallet address.

Request Headers

Name

Description

Bearer Token

[Required] The authorization token for accessing the API.

Response

200 OK

{
    "timestamp": "2024-06-18T16:21:17.338821",
    "data": {
        "uuid": "94bfc7dc-...-fb287e626b74",
        "type": "REGISTRANT",
        "email": "example@freename.io",
        "walletAddress": "0x6721e82...ad2d07f"
    }
}

Last updated