> 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/post-endpoints.md).

# 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
