2. Endpoints > 2.1. Address
https://api.lookupdatas.com
To Get [TOKEN] go to 1.1. Token
curl --location '[BASEURL]/addressmanagement/api/countrytoplevelwebdomain/getbyid?id=D81DD5B5-B300-4099-AE5E-5E63E845BDF4' --header 'Authorization: Bearer [TOKEN]'
curl --location '[BASEURL]/addressmanagement/api/countrytoplevelwebdomain/getbywebdomainid?webdomainid=EF976BCC-EE50-45E6-8C84-16394BBF6572' --header 'Authorization: Bearer [TOKEN]'
{ "header": { "globalId": "00b0dbe1-e497-4cd4-ae29-70da80dc0e5e", "isSuccess": true, "message": null }, "body": [ { "id": "D81DD5B5-B300-4099-AE5E-5E63E845BDF4", "countryId": "406FCF8F-8925-4B6A-8B5A-071D7808C971", "webDomainId": "EF976BCC-EE50-45E6-8C84-16394BBF6572" } ] }
{ "header": { "globalId": "1ca2cbf3-b895-4f19-aca9-642481bfddf5", "isSuccess": true, "message": null }, "body": { "id": "D81DD5B5-B300-4099-AE5E-5E63E845BDF4", "countryId": "406FCF8F-8925-4B6A-8B5A-071D7808C971", "webDomainId": "EF976BCC-EE50-45E6-8C84-16394BBF6572" } }