# List of Endpoints

This page covers endpoints available for all post types like

* contacts
* groups
* custom post types. Click [here](/theme-core/customization/custom-post-types.md) for more information.

## Endpoints

CRU~~D~~

* [Create post](/theme-core/api-posts/create-post.md): POST /wp-json/dt-posts/v2/{post-type}
* [Get post](/theme-core/api-posts/get-post.md): GET /wp-json/dt-posts/{post-type}/v2/post-type/{post\_id}
* [Update post](/theme-core/api-posts/update-post.md): POST /wp-json/dt-posts/v2/{post-type}/{post\_id}

List

* [List posts](/theme-core/api-posts/list-query.md): GET /wp-json/dt-posts/v2/{post-type}
* [List posts for Typeaheads](/theme-core/api-posts/list-posts-compact.md): GET /wp-json/dt-posts/v2/{post-type}/compact

Comments

* [Get comments](/theme-core/api-posts/post-comments.md): GET /wp-json/dt-posts/v2/{post-type}/{post\_id}/comments
* [Create comment](/theme-core/api-posts/post-comments.md): POST /wp-json/dt-posts/v2/{post-type}/{post\_id}/comments
* [Update comment](/theme-core/api-posts/post-comments.md): POST /wp-json/dt-posts/v2/{post-type}/{post\_id}/comments/{comment\_id}
* [Delete comment](/theme-core/api-posts/post-comments.md): DELETE /wp-json/dt-posts/v2/{post-type}/{post\_id}/comments/{comment\_id}

Activity

* [Get activity](/theme-core/api-posts/post-activity.md): GET /wp-json/dt-posts/v2/{post-type}/{post\_id}/activity
* [Get one activity](/theme-core/api-posts/post-activity.md): GET /wp-json/dt-posts/v2/{post-type}/{post\_id}/activity/{activity\_id}

Shares

* [Get shares](/theme-core/api-posts/post-sharing.md): GET /wp-json/dt-posts/v2/{post-type}/{post\_id}/shares
* [Add shares](/theme-core/api-posts/post-sharing.md): POST /wp-json/dt-posts/v2/{post-type}/{post\_id}/shares
* [Remove shares](/theme-core/api-posts/post-sharing.md): DELETE /wp-json/dt-posts/v2/{post-type}/{post\_id}/shares

Following

* [Get users following](/theme-core/api-posts/post-following.md): GET /wp-json/dt-posts/v2/{post-type}/{post\_id}/following

Settings

* [Get settings](/theme-core/api-posts/post-settings.md): GET /wp-json/dt-posts/v2/{post-type}/settings
* Multi\_select values: GET /wp-json/dt-posts/v2/{post-type}/multi-select-values

Global Search

* [Global search](/theme-core/api-posts/global-search.md): GET /wp-json/dt-posts/v2/posts/search/advanced\_search


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.disciple.tools/theme-core/api-posts/post-endpoints.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
