Learn how to find a particular person's addresses in Tuum. In this example, we will demonstrate it on a private person using the following data.
Private person with Tuum personId: ID-3392
.
.../persons/ID-3392/addresses
To retrieve customer data, make the following API call.
https://person-api.sandbox.tuumplatform.com/api/v1/persons/ID-3392/addresses
Below is an example request of the API call to retrieve person addresses.
No request body.
curl --location 'https://person-api.sandbox.tuumplatform.com/api/v1/persons/ID-3392/addresses' \
--header 'x-auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHBpcnlEVGltZSI6IjIwMjQtMDUtMjFUMTA6NTc6MzIiLCJyb2xlcyI6WyJBRE1JTiJdLCJuYW1lIjoiSm9obiBPZmZpY2VyIiwiZW1wbG95ZWVJZCI6IjEiLCJ0ZW5hbnRDb2RlIjoiTUIiLCJleHAiOjE3MTYyODkwNTJ9.nz1Fm5JV4tgUvL9rD-PbVb_fBVbIgbbxDhVpPdp6h2Q' \
--header 'x-channel-code: SYSTEM' \
--data ''
Below you find an example response body to the API call above.
The result of the API call is the overview of the addresses linked to the person.