Add a new address to an existing person
cURL
curl --request POST \ --url https://api.slant.app/v1/people/{person_id}/addresses \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "line1": "123 Main St", "line2": "Apt 4B", "city": "New York", "state": "NY", "zip": "10001", "country_code": "US", "address_type": "home", "is_primary": true } '
{ "id": "<string>", "person_id": "<string>", "line1": "<string>", "line2": "<string>", "city": "<string>", "state": "<string>", "zip": "<string>", "country_code": "<string>", "address_type": "<string>", "is_primary": true }
OAuth 2.0 Bearer Token from Clerk authentication
The person ID
"123 Main St"
"Apt 4B"
"New York"
"NY"
"10001"
"US"
home
work
mailing
other
"home"
true
address created