{"id":7251,"date":"2024-02-14T17:22:11","date_gmt":"2024-02-14T15:22:11","guid":{"rendered":"https:\/\/leogeracademy.hestia.wpspace.me\/?post_type=docs&#038;p=7251"},"modified":"2025-04-22T08:28:48","modified_gmt":"2025-04-22T07:28:48","password":"","slug":"0-api","status":"publish","type":"docs","link":"https:\/\/staging.churchtools.academy\/de\/help\/system-einstellungen\/api\/0-api\/","title":{"rendered":"\u00dcberblick API"},"content":{"rendered":"\n<p>Alle Funktionen, die in ChurchTools verf\u00fcgbar sind, k\u00f6nnen auch \u00fcber die API genutzt werden. Genauso funktionieren das ChurchTools-Frontend und auch die App.<\/p>\n\n\n\n<p>Es gibt eine alte API, die auf Funktionsaufrufen basiert und eine neue REST-API.<\/p>\n\n\n<!--presto-player:video_id=23--><figure class=\"wp-block-video presto-block-video  presto-provider-youtube\" style=\"--plyr-color-main: var(--presto-player-highlight-color, #2563eb); --presto-player-logo-width: 150px; \">\n\t<presto-player \n\t\tpreset='{&quot;id&quot;:5,&quot;name&quot;:&quot;YouTube Optimized&quot;,&quot;slug&quot;:&quot;youtube&quot;,&quot;icon&quot;:&quot;youtube&quot;,&quot;skin&quot;:&quot;modern&quot;,&quot;play-large&quot;:true,&quot;rewind&quot;:true,&quot;play&quot;:true,&quot;fast-forward&quot;:true,&quot;progress&quot;:true,&quot;current-time&quot;:true,&quot;mute&quot;:true,&quot;volume&quot;:true,&quot;speed&quot;:true,&quot;pip&quot;:false,&quot;fullscreen&quot;:true,&quot;captions&quot;:false,&quot;reset_on_end&quot;:true,&quot;auto_hide&quot;:true,&quot;show_time_elapsed&quot;:false,&quot;captions_enabled&quot;:false,&quot;save_player_position&quot;:false,&quot;sticky_scroll&quot;:false,&quot;sticky_scroll_position&quot;:&quot;bottom right&quot;,&quot;on_video_end&quot;:&quot;select&quot;,&quot;play_video_viewport&quot;:false,&quot;hide_youtube&quot;:false,&quot;lazy_load_youtube&quot;:true,&quot;hide_logo&quot;:false,&quot;border_radius&quot;:0,&quot;caption_style&quot;:&quot;&quot;,&quot;caption_background&quot;:&quot;&quot;,&quot;is_locked&quot;:true,&quot;cta&quot;:[&quot;&quot;],&quot;watermark&quot;:[&quot;&quot;],&quot;search&quot;:[&quot;&quot;],&quot;email_collection&quot;:[&quot;&quot;],&quot;created_by&quot;:4,&quot;created_at&quot;:&quot;2024-06-20 11:19:03&quot;,&quot;updated_at&quot;:&quot;2024-06-20 11:19:03&quot;,&quot;deleted_at&quot;:&quot;&quot;}'\n\t\tbranding='{&quot;logo&quot;:&quot;&quot;,&quot;color&quot;:&quot;#2563eb&quot;,&quot;logo_width&quot;:150,&quot;player_css&quot;:&quot;&quot;}'\n\t\tchapters='[]'\n\t\toverlays='[]'\n\t\ttracks='[]'\n\t\tblock-attributes='{&quot;playsInline&quot;:true,&quot;id&quot;:23,&quot;src&quot;:&quot;https:\\\/\\\/youtu.be\\\/a2dWZTOnGFM&quot;,&quot;preset&quot;:5,&quot;video_id&quot;:&quot;a2dWZTOnGFM&quot;,&quot;title&quot;:&quot;ChurchTools API - \\u00dcberblick&quot;}'\n\t\tanalytics=''\n\t\tautomations\t\tprovider='youtube'\n\t\t\t\tid=\"presto-player-1\"\n\t\tsrc=\"\/\/www.youtube.com\/embed\/a2dWZTOnGFM?iv_load_policy=3&amp;modestbranding=1&amp;playinline=1&amp;showinfo=0&amp;rel=0&amp;enablejsapi=1\"\n\t\tmedia-title=\"ChurchTools API - \u00dcberblick\"\n\t\tcss=\"\"\n\t\tclass=\"presto-video-id-23 presto-preset-id-5 skin-modern\"\n\t\tskin=\"modern\" \n\t\ticon-url=\"https:\/\/staging.churchtools.academy\/wp-content\/plugins\/presto-player\/img\/sprite.svg\" \n\t\tpreload=\"\" \n\t\tposter=\"\"\n\t\tyoutube=\"{&quot;noCookie&quot;:true,&quot;channelId&quot;:&quot;&quot;,&quot;show_count&quot;:false}\"\n\t\tprovider-video-id=\"a2dWZTOnGFM\"\n\t\tvideo-id=\"23\"\n\t\tlazy-load-youtube\t\tplaysinline \n\t\t\t\t>\n\t\t\n\n\t<\/presto-player>\n<\/figure>\n\n\n<h2 class=\"wp-block-heading\">RESTful API<\/h2>\n\n\n\n<p>ChurchTools besitzt eine REST API, die f\u00fcr Informationsabrufe aber auch f\u00fcr Aktionen genutzt werden kann. Viele Endpunkte sind bereits implementiert, es ist aber noch nicht der ganze Funktionsumfang von ChurchTools dar\u00fcber realisiert. Mit jeder Version wird die API verbessert und erweitert. F\u00fcr Hintergr\u00fcnde und Anregungen ist es empfehlenswert diesen Forumsbeitrag <strong>zuerst<\/strong> zu lesen: <a href=\"https:\/\/forum.church.tools\/topic\/5121\/restful-api-vorstellung\">RESTful API: Vorstellung<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Weiterf\u00fchrende Links<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/forum.church.tools\/topic\/5121\/restful-api-vorstellung\">https:\/\/forum.church.tools\/topic\/5121\/restful-api-vorstellung<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/churchtools\/churchtools-js-client\">https:\/\/github.com\/churchtools\/churchtools-js-client<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">AJAX API<\/h2>\n\n\n\n<p>ChurchTools besitzt eine AJAX API. Diese wird noch an vielen Stellen genutzt, wird aber nach und nach von der REST API abgel\u00f6st. Die meisten Funktionen lassen sich damit ansprechen und so interessante Einsatzm\u00f6glichkeiten schaffen.<\/p>\n\n\n\n<p>Dokumentation zur Nutzung gibt es <a href=\"https:\/\/staging.churchtools.academy\/help\/system-einstellungen\/api\/0-api-alt\/\" data-type=\"docs\" data-id=\"7254\">hier<\/a>.<\/p>\n\n\n\n<p><strong>Anfragen zur AJAX API werden von unserem Support nicht abgedeckt.<\/strong> Bei Fragen dazu ist die eure Anlaufstelle das <a href=\"https:\/\/forum.church.tools\/category\/22\/churchtools-schnittstellen\">Forum<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>API CSRF<\/strong><\/h2>\n\n\n\n<p>Sicherheit: <a href=\"https:\/\/staging.churchtools.academy\/help\/system-einstellungen\/allgemein-datenschutz-sicherheit\/35-csrf-prevention\/\" type=\"docs\" id=\"7638\">CSRF Token<\/a> mitschicken<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Weiterf\u00fchrende Links<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/github.com\/churchtools\/churchtools-js-client\">https:\/\/github.com\/churchtools\/churchtools-js-client<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/5pm-HDH\/churchtools-api\">https:\/\/github.com\/5pm-HDH\/churchtools-api<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/fodinabor\/CT-API-Tools\">https:\/\/github.com\/fodinabor\/CT-API-Tools<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/forum.church.tools\/topic\/4489\/frage-zur-benutzung-der-api\">https:\/\/forum.church.tools\/topic\/4489\/frage-zur-benutzung-der-api<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Alle Funktionen, die in ChurchTools verf\u00fcgbar sind, k\u00f6nnen auch \u00fcber die API genutzt werden. Genauso funktionieren das ChurchTools-Frontend und auch die App. Es gibt eine alte API, die auf Funktionsaufrufen basiert und eine neue REST-API. RESTful API ChurchTools besitzt eine REST API, die f\u00fcr Informationsabrufe aber auch f\u00fcr Aktionen genutzt werden kann. Viele Endpunkte sind [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"doc_category":[370],"doc_tag":[268],"knowledge_base":[346],"class_list":["post-7251","docs","type-docs","status-publish","hentry","doc_category-api","doc_tag-inhalt-veraltet","knowledge_base-system-einstellungen"],"acf":[],"year_month":"2026-05","word_count":207,"total_views":"2184","reactions":{"happy":"1","normal":"0","sad":"0"},"author_info":{"name":"Victoria Weidemann","author_nicename":"vweidemann","author_url":"https:\/\/staging.churchtools.academy\/de\/author\/vweidemann\/"},"doc_category_info":[{"term_name":"API","term_url":"https:\/\/staging.churchtools.academy\/de\/help\/system-einstellungen\/api\/"}],"doc_tag_info":[{"term_name":"Inhalt veraltet","term_url":"https:\/\/staging.churchtools.academy\/de\/docs-tag\/inhalt-veraltet\/"}],"knowledge_base_info":[{"term_name":"System-Einstellungen","term_url":"https:\/\/staging.churchtools.academy\/de\/help\/system-einstellungen\/","term_slug":"system-einstellungen"}],"knowledge_base_slug":["system-einstellungen"],"_links":{"self":[{"href":"https:\/\/staging.churchtools.academy\/de\/wp-json\/wp\/v2\/docs\/7251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.churchtools.academy\/de\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/staging.churchtools.academy\/de\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/staging.churchtools.academy\/de\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.churchtools.academy\/de\/wp-json\/wp\/v2\/comments?post=7251"}],"version-history":[{"count":7,"href":"https:\/\/staging.churchtools.academy\/de\/wp-json\/wp\/v2\/docs\/7251\/revisions"}],"predecessor-version":[{"id":34617,"href":"https:\/\/staging.churchtools.academy\/de\/wp-json\/wp\/v2\/docs\/7251\/revisions\/34617"}],"wp:attachment":[{"href":"https:\/\/staging.churchtools.academy\/de\/wp-json\/wp\/v2\/media?parent=7251"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/staging.churchtools.academy\/de\/wp-json\/wp\/v2\/doc_category?post=7251"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/staging.churchtools.academy\/de\/wp-json\/wp\/v2\/doc_tag?post=7251"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/staging.churchtools.academy\/de\/wp-json\/wp\/v2\/knowledge_base?post=7251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}