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.
This guide will help you find details about an individual or a legal entity.
The find person details endpoint provides a detailed overview of the person from various APIs.
The find person address endpoint provides person's address details.
Based on your use case, use either of the endpoints to retrieve person data:
Learn how to find a particular person's (your customer's) main details 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
To retrieve customer data, make the following API call.
https://person-api.sandbox.tuumplatform.com/api/v3/persons/ID-3392
Below is an example request of the API call to retrieve customer data.
No request body.
curl 'https://person-api.sandbox.tuumplatform.com/api/v3/persons/ID-3392' \
-H 'x-auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHBpcnlEVGltZSI6IjIwMjMtMDYtMDFUMDg6NTU6NDciLCJyb2xlcyI6WyJBRE1JTiJdLCJuYW1lIjoiSm9obiBPZmZpY2VyIiwiZW1wbG95ZWVJZCI6IjEiLCJ0ZW5hbnRDb2RlIjoiTUIiLCJleHAiOjE2ODU2MDk3NDd9.55aYdFuNopFjauFv8XG-FO6S5io6c4PNlF__rUIJixM' \
-H 'x-channel-code: SYSTEM'
Below you find an example response body to the API call above.
The result of the API call is the dataset of the particular person.