> For the complete documentation index, see [llms.txt](https://developers.disciple.tools/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.disciple.tools/theme-core/api-posts/get-post.md).

# Get Post

`GET` <https://example.com/wp-json/dt-posts/v2/{post_type}/{post_id}/>

Requires permission: `access_{post_type}`

## Returns

(json object): the contact. Each field type will show in a different way:

* **"ID"**
* **"name"**:"John Doe",
* **"created\_date"**:"2018-06-05 16:07:16",
* **"last\_modified"**:"1552987784", //date the contact has last been modified
* **text fields**

```
"field_key": "text"
```

* **multi\_select fields**

  ```javascript
  "field_key": [ 
    "option_key", 
    "option_key",
    ... 
  ]
  ```
* **key\_select fields**

  ```javascript
  "field_key": {
   "key":"option_key",
   "label":"option_label"
  },
  ```
* **connection fields**

  ```javascript
  "field_key": [ 
   { 
       "ID":{post_id},
       "post_type":"{post_type}",
       "post_date_gmt":"2018-05-29 13:12:01",
       "post_date":"2018-05-29 13:12:01",
       "post_title":"{post_title}"
   },
   ...
  ]
  ```
* **date fields**

  ```javascript
  "field_key": {
    timestamp: "1552953600",  //unix timestamp and the date
    formatted: "March 19, 2019" // date formatted base on selected date format in WP settings
  }
  ```

## Return Example

```javascript
{
"ID":72,
"title":"Mojiz Chra\u00efbi",
"created_date":"2018-06-05 16:07:16",
"last_modified":"1552987784",
"geonames":[
    {"id":123456,"label":"World"}
],
"groups":[
    {"ID":83,"post_type":"groups","post_date_gmt":"2018-07-02 15:05:53","post_date":"2018-07-02 15:05:53","post_title":"Local Christian Church"}
],
"people_groups":[],
"baptized":[
    {"ID":105,"post_type":"contacts","post_date_gmt":"2018-07-17 14:54:35","post_date":"2018-07-17 14:54:35","post_title":"Jessica Blue"}
],
"baptized_by":[],
"coaching":[],
"coached_by":[],
"subassigned":[],
"relation":[],
"seeker_path":{"key":"none","label":"Contact Attempt Needed"},

"type":{"key":"media","label":"Media"},
"assigned_to":{"id":"8","type":"user","display":"Anthony Palacio (multiplier)","assigned-to":"user-8"},
"overall_status":{"key":"assigned","label":"Waiting to be accepted"},
"contact_phone":[
    {"verified":false,"value":"555-5555","key":"contact_phone_ca2"}
],
"contact_email":[
    {"verified":false,"value":"","key":"contact_email_313"}
],
"sources":["facebook"],
"accepted":false,
"gender":{"key":"male","label":"Male"},
"age":{"key":"<19","label":"Under 18 years old"},
"milestones":[
    "milestone_has_bible",
    "milestone_can_share",
    "milestone_reading_bible"
],
"baptism_generation":"0",
"baptism_date": {"timestamp": "1552953600", "formatted": "March 19, 2019"}
}
```
