Retrieve an Address
Retrieves the detail of a specific Address
.
API Endpoint
GET
https://api.plivo.com/v1/Account/{auth_id}/Verification/Address/{id}/
Arguments
No arguments need to be passed.
Returns
Returns an Address
object.
Response
HTTP Status Code: 200
{
"account": "MAXXXXXXXXXXXXXXXXXX",
"address_line1": "128",
"address_line2": "RUE DU COMMANDANT GUILBAUD",
"alias": "test_address",
"api_id": "08361d92-0b59-11e8-aa7e-02ad5072be3e",
"city": "PARIS",
"country_iso": "FR",
"document_details": {
"address_line1": "128",
"address_line2": "RUE DU COMMANDANT GUILBAUD",
"city": "PARIS",
"first_name": "Bruce",
"last_name": "Wayne",
"postal_code": "75016",
"region": "PARIS",
"salutation": "Mr"
},
"first_name": "Bruce",
"id": "20220771838737",
"last_name": "Wayne",
"postal_code": "75016",
"region": "PARIS",
"salutation": "Mr",
"subaccount": null,
"url": "https://api.plivo.com/v1/Account/MAXXXXXXXXXXXXXXXXXX/Verification/Address/20220771838737/",
"validation_status": "accepted",
"verification_status": "pending"
}
Example Request
1
2
3
4
5
6
import plivo
client = plivo.RestClient()
response = client.addresses.get(
address_id='32208455725227', )
print(response)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
* Example for Account Get
*/
using System;
using System.Collections.Generic;
using Plivo;
using Plivo.Exception;
namespace PlivoExamples
{
internal class Program
{
public static void Main(string[] args)
{
var api = new PlivoApi("YOUR_AUTH_ID", "YOUR_AUTH_TOKEN");
try
{
var response = api.Address.Get(
"addressId"
);
Console.WriteLine(response);
}
catch (PlivoRestException e)
{
Console.WriteLine("Exception: " + e.Message);
}
}
}
}
Rate this page
🥳 Thank you! It means a lot to us!
×
Help Us Improve
Thank you so much for rating the page, we would like to get your input for further improvements!
Subscribe to Updates
Thank you for your feedback!