2. Endpoints > 2.1. Address
https://api.lookupdatas.com
To Get [TOKEN] go to 1.1. Token
curl
--location '[BASEURL]/addressmanagement/api/callingcode/getall'
--header 'Authorization: Bearer [TOKEN]'
{
"header": {
"globalId": "4db2948d-56a5-4955-a379-506f89f041f6",
"isSuccess": true,
"message": null
},
"body": [
{
"id": "00800567-203C-48B9-A491-9BD14BA9F30A",
"code": 299
},
{
"id": "00EFCF96-C224-4EFA-82B1-571702E29A67",
"code": 855
},
{
"id": "01F4A748-1FAB-43EE-9B39-A2581029B73A",
"code": 266
}
]
}
curl
--location '[BASEURL]/addressmanagement/api/callingcode/getbyid?id=00800567-203C-48B9-A491-9BD14BA9F30A'
--header 'Authorization: Bearer [TOKEN]'
{
"header": {
"globalId": "fca00688-b1c1-4c9d-a1e6-1cd77667feb0",
"isSuccess": true,
"message": null
},
"body": {
"id": "00800567-203C-48B9-A491-9BD14BA9F30A",
"code": 299
}
}
curl
--location '[BASEURL]/addressmanagement/api/callingcode/getbycode?code=299'
--header 'Authorization: Bearer [TOKEN]'
{
"header": {
"globalId": "7a0d391e-7827-46eb-8ed6-e83fbf5b8b82",
"isSuccess": true,
"message": null
},
"body": {
"id": "00800567-203C-48B9-A491-9BD14BA9F30A",
"code": 299
}
}