---
title: "Creates a address details entry for the candidate"
method: POST
path: "/candidate/{candidate_id}/address-details"
tags: ["Candidate Address Details"]
---

# Creates a address details entry for the candidate

`POST /candidate/{candidate_id}/address-details`

## Request body

- CandidateAddressItemDef — address details item
  - `type` 'physical_address' | 'postal_address' | 'alternative_address', required
  - `address_line1` string, required
  - `address_line2` string
  - `city` string
  - `province` string
  - `country_code` string, required
  - `post_code` string, required

## Response `201`

All address details for a candidate will be returned

- CandidateAddressItemResponseDef — address details item
  - `type` 'physical_address' | 'postal_address' | 'alternative_address', required
  - `address_line1` string, required
  - `address_line2` string
  - `city` string
  - `province` string
  - `country_code` string, required
  - `post_code` string, required
  - `_id` string, required
  - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `__v` integer, required
  - `candidate_id` string, required
  - `co_ords` CoOrds — The geo-location information, co-ordinates
    - `longitude` number
    - `latitude` number
  - `geo_location_last_checked_at` string, date-time
  - `geo_location_details` object
    - `type` 'manual' | 'lookup' | 'lookup_failed'
    - `updated_at` string, date-time

## Other responses

- `400` — Validation errors caused by missing or invalid header / path or payloads
- `401` — Failed to authenticate the user making the request
- `default` — Server error occurred

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) · [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/staffshift/staffshift-api-gateway/revisions/6e2cb83db3a9/schema)
