Javascript
import AIInbx from 'aiinbx'; const client = new AIInbx({ apiKey: 'My API Key', }); const domain = await client.domains.retrieve('domainId'); console.log(domain.id);
{ "id": "<string>", "createdAt": "<string>", "updatedAt": "<string>", "domain": "<string>", "verifiedAt": "<string>", "status": "VERIFIED", "dnsRecords": [ { "type": "TXT", "name": "<string>", "value": "<string>", "priority": 123, "isVerified": true, "verificationStatus": "verified", "lastCheckedAt": "<string>" } ] }
Retrieve a domain by its ID
API Key authentication using Bearer token
The unique identifier of the domain
Successful response
VERIFIED
PENDING_VERIFICATION
NOT_REGISTERED
Show child attributes
Was this page helpful?