Endpunkt AI-Werkzeuge
POST /v1/tools/{name} führt ein Werkzeug von SmartChat AI direkt aus, ohne KI-Modell dazwischen. Texte, die du schickst, werden wörtlich übernommen. GET /v1/tools listet alle Werkzeuge mit Eingabe-Schema und ob dein Schlüssel sie nutzen darf.
Die technische Referenz unten ist auf Englisch, genau so, wie Namen und Felder in der API und in Claude erscheinen.
curl -X POST https://api.smartchat.marketing/v1/tools/update_landing \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{"arguments": {"headline": "Fresh bread every morning"}}'
{"tool": "update_landing", "ok": true, "result": { ... }}
Zweistufige Aktionen
Werkzeuge, die senden, planen, einreichen oder löschen, liefern zuerst eine Vorschau und ein confirm_token. Ruf dasselbe Werkzeug mit confirm_token nochmal auf, um es auszuführen. Beim ersten Aufruf passiert nichts.
59 tools
POST/v1/tools/get_overview · Get account overview
stats:readReturns an overview of the account: landing page, templates, follow-ups, newsletters, automations and contacts with their IDs and states.
Daten (body): {"arguments": { ... }}
Keine Eingabefelder.
POST/v1/tools/list_media · List media
media:readLists the images and videos in the media library with id, number, type and description.
Daten (body): {"arguments": { ... }}
Keine Eingabefelder.
POST/v1/tools/save_to_library · Save to media library
media:writeSaves an uploaded file permanently to the media library. Argument: media_id.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
media_id | string | ja |
POST/v1/tools/update_landing · Change landing page texts
landing:writeKostet Credits wie eine Nachricht an SmartChat AIChanges texts and settings of the landing page. Texts are used word for word.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
headline | string | nein | |
subheadline | string | nein | |
cta_text | string | nein | |
success_message | string | nein | |
texte | object | nein | |
steps_title | string | nein | |
steps_intro | string | nein | |
faq_title | string | nein | |
proof_title | string | nein | |
problem | object | nein | |
solution | object | nein | |
offer | object | nein | |
steps | array of object | nein | |
faq | array of object | nein | |
reviews | array of object | nein | |
color | string | nein | |
heading_color | any | nein | |
background_color | any | nein | |
button_color | any | nein | |
font | string | nein | |
design_mood | string | nein | |
font_pair | string | nein | |
hero_image | string | nein | |
hero_media | object | nein | |
images | array of string | nein | |
verbatim | array of string | nein | Namen der Felder, deren Text der Nutzer WÖRTLICH vorgegeben hat (z.B. ["headline"]). Diese Texte werden exakt so gespeichert - ohne Kritiker, ohne Politur. Setze das IMMER, wenn du einen Text übernimmst, den der Nutzer selbst geschrieben hat. |
POST/v1/tools/swap_landing_image · Change landing page image
landing:writeReplaces an image on the landing page with an image or video from the media library.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
position | any | ja | |
query | string | nein |
POST/v1/tools/get_landing_blocks · Get landing page blocks
landing:readReturns all blocks of the landing page with their ids and content.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
position | any | nein |
POST/v1/tools/add_landing_block · Add landing page block
landing:writeKostet Credits wie eine Nachricht an SmartChat AIAdds a block (section) to the landing page.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
type | string | ja | |
data | object | nein | |
variant | string | nein | |
ton | string | nein | |
position | any | nein | |
stil | array of object | nein |
POST/v1/tools/remove_landing_block · Remove landing page block
landing:writeRemoves a block from the landing page.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
position | any | ja |
POST/v1/tools/move_landing_block · Move landing page block
landing:writeMoves a block to another position on the landing page.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
from | any | ja | |
to | any | ja |
POST/v1/tools/set_landing_style · Change landing page style
landing:writeChanges colors, fonts and background of the landing page or of one block.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
radius | any | nein | |
shadow | any | nein | |
spacing | any | nein | |
width | any | nein | |
button | any | nein | |
image | any | nein | |
stil | array of object | nein |
POST/v1/tools/update_landing_block · Change landing page block
landing:writeKostet Credits wie eine Nachricht an SmartChat AIChanges the content or design of one block. Texts are used word for word.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
position | any | ja | |
karte | any | nein | |
data | object | nein | |
variant | string | nein | |
ton | string | nein | |
stil | array of object | nein |
POST/v1/tools/publish_landing · Publish landing page
landing:writePublishes the landing page so the changes are live.
Daten (body): {"arguments": { ... }}
Keine Eingabefelder.
POST/v1/tools/create_followup_sequence · Create follow-up sequence
followups:writeKostet Credits wie eine Nachricht an SmartChat AICreates a follow-up sequence (messages after sign-up).
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
name | string | ja | |
steps | array of object | ja | |
activate | boolean | nein | |
verbatim | array of string | nein |
POST/v1/tools/update_followup_step · Change follow-up step
followups:writeKostet Credits wie eine Nachricht an SmartChat AIChanges text, image or timing of one follow-up message. Texts are used word for word.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
step_id | string | ja | |
content | string | nein | |
subject | string | nein | |
delay_hours | number | nein | |
verbatim | array of string | nein |
POST/v1/tools/add_followup_step · Add follow-up step
followups:writeKostet Credits wie eine Nachricht an SmartChat AIAdds a message to a follow-up sequence.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
sequence_id | string | ja | |
channel | string | nein | |
delay_hours | number | nein | |
content | string | ja | |
button | any | nein | |
media | object | nein | |
verbatim | array of string | nein |
POST/v1/tools/delete_followup_step · Delete follow-up step
followups:writeDeletes one message from a follow-up sequence.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
step_id | string | ja |
POST/v1/tools/rename_followup_sequence · Rename follow-up sequence
followups:writeRenames a follow-up sequence.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
sequence_id | string | ja | |
name | string | ja |
POST/v1/tools/set_followup_status · Pause or start follow-ups
followups:writePauses or starts a follow-up sequence.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
sequence_id | string | ja | |
status | string ("active", "paused") | ja |
POST/v1/tools/create_newsletter · Create newsletter
newsletters:writeKostet Credits wie eine Nachricht an SmartChat AICreates a WhatsApp newsletter as draft. Texts are used word for word; media_id adds an image or video from the media library.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
subject | string | ja | |
content | string | ja | |
channel | string | nein | |
media | object | nein | |
cta | object | nein | |
segment | object | nein |
POST/v1/tools/update_newsletter · Change newsletter
newsletters:writeKostet Credits wie eine Nachricht an SmartChat AIChanges text, image, video or button of a newsletter. Texts are used word for word.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
newsletter_id | string | ja | |
subject | string | nein | |
content | string | nein | |
media | any | nein | |
cta | any | nein | |
segment | any | nein |
POST/v1/tools/send_newsletter · Send newsletter now
newsletters:scheduleSends a newsletter to all confirmed contacts. First call returns the number of recipients and a confirm_token; the second call with confirm_token sends.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
newsletter_id | string | ja | |
confirm_token | string | nein |
POST/v1/tools/test_newsletter · Send test newsletter
newsletters:scheduleSends a newsletter to the test phone number only.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
newsletter_id | string | ja | |
to | string | nein |
POST/v1/tools/schedule_newsletter · Schedule newsletter
newsletters:scheduleSchedules a newsletter. First call returns a preview and confirm_token; the second call with confirm_token schedules.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
newsletter_id | string | ja | |
scheduled_at | string | ja | |
confirm_token | string | nein |
POST/v1/tools/cancel_newsletter · Cancel newsletter
newsletters:scheduleCancels a scheduled newsletter.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
newsletter_id | string | ja |
POST/v1/tools/get_newsletter · Get newsletter
newsletters:readReturns one newsletter with text, media, state and recipients.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
newsletter_id | string | ja |
POST/v1/tools/create_template · Create template
templates:writeKostet Credits wie eine Nachricht an SmartChat AICreates a WhatsApp template as draft. Texts are used word for word.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
name | string | ja | |
channel | string | nein | |
content | string | ja | |
subject | string | nein | |
buttons | array of any | nein | |
media | object | nein | |
verbatim | array of string | nein |
POST/v1/tools/update_template · Change template
templates:writeKostet Credits wie eine Nachricht an SmartChat AIChanges text, image or buttons of a template. Texts are used word for word.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
template_id | string | ja | |
name | string | nein | |
content | string | nein | |
subject | string | nein | |
buttons | any | nein | |
media | any | nein | |
verbatim | array of string | nein |
POST/v1/tools/delete_template · Delete template
templates:deleteDeletes a template.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
template_id | string | ja |
POST/v1/tools/submit_all_templates · Submit all templates
templates:submitSubmits all open templates to WhatsApp. First call returns the list and confirm_token; the second call with confirm_token submits.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
confirm_token | string | nein |
POST/v1/tools/submit_template · Submit template to WhatsApp
templates:submitSubmits a template to WhatsApp for approval. First call returns a check and confirm_token; the second call with confirm_token submits.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
template_id | string | ja | |
confirm_token | string | nein |
POST/v1/tools/get_stats · Get statistics
stats:readReturns the key figures of the account.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
range | string ("7d", "30d", "90d") | nein |
POST/v1/tools/list_contacts · List contacts
contacts:readLists contacts with their opt-in state and tags.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
type | string | nein | |
search | string | nein |
POST/v1/tools/add_contact · Add contact
contacts:writeAdds a contact. A new contact still has to confirm the sign-up.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
name | string | nein | |
email | string | nein | |
phone | string | nein |
POST/v1/tools/resend_optin_confirmation · Resend confirmation
messages:writeSends the sign-up confirmation to a contact again. First call returns a preview and confirm_token.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
contact_id | string | ja | |
confirm_token | string | nein |
POST/v1/tools/tag_contacts · Tag contacts
contacts:writeAdds tags to one or more contacts.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
tag | string | ja | |
contact_ids | array of any | ja | |
grund | string | nein |
POST/v1/tools/untag_contacts · Remove tags
contacts:writeRemoves tags from one or more contacts.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
tag | string | ja | |
contact_ids | array of any | ja |
POST/v1/tools/export_contacts · Export contacts
contacts:readExports the contacts as CSV text.
Daten (body): {"arguments": { ... }}
Keine Eingabefelder.
POST/v1/tools/update_brand · Change brand
settings:writeChanges brand data: name, colors, logo, tone.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
color | string | nein | |
tonality | string | nein |
POST/v1/tools/set_landing_tracking · Set tracking pixel
landing:writeSets tracking pixels (Meta, Google, TikTok) on the landing page.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
meta_pixel_id | string | nein | |
meta_capi_token | string | nein | |
google_id | string | nein | |
gtm_id | string | nein | |
tiktok_id | string | nein | |
tiktok_events_token | string | nein |
POST/v1/tools/find_text · Find text
landing:readFinds where a text appears: landing page, popup, templates, follow-ups and newsletters. Argument: text.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
text | string | ja |
POST/v1/tools/set_legal_urls · Set legal pages
settings:writeSets the addresses of imprint and privacy policy.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
imprint_url | string | nein | |
privacy_url | string | nein |
POST/v1/tools/update_website_popup · Change website popup
landing:writeKostet Credits wie eine Nachricht an SmartChat AIChanges texts, look and timing of the sign-up popup on the business website.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
headline | string | nein | |
text | string | nein | |
button | string | nein | |
thanks_headline | string | nein | |
thanks_text | string | nein | |
image | any | nein | |
triggers | array of string ("time", "exit", "scroll") | nein | |
delay_seconds | number | nein | |
scroll_percent | number | nein |
POST/v1/tools/scan_website · Scan website
settings:writeKostet Credits wie eine Nachricht an SmartChat AIScans the business website again and updates the stored data. Argument: url (optional).
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
url | string | ja |
POST/v1/tools/set_constraint · Set a content rule
settings:writeStores a rule for all content, for example a topic that must never be mentioned.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
value | string | ja | |
kind | string | nein |
POST/v1/tools/search_knowledge · Search business knowledge
settings:readSearches the stored knowledge about the business (website, documents). Argument: query.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
query | string | ja | |
limit | number | nein |
POST/v1/tools/refresh_brain · Rebuild business knowledge
settings:writeKostet Credits wie eine Nachricht an SmartChat AIRebuilds the stored knowledge about the business from its website and documents.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
force | boolean | nein |
POST/v1/tools/get_growth_plan · Get growth plan
settings:readKostet Credits wie eine Nachricht an SmartChat AIReturns a growth plan for the business based on its data.
Daten (body): {"arguments": { ... }}
Keine Eingabefelder.
POST/v1/tools/get_next_step · Get next step
settings:readReturns the most useful next step for the account.
Daten (body): {"arguments": { ... }}
Keine Eingabefelder.
POST/v1/tools/refresh_reviews · Reload reviews
landing:writeKostet Credits wie eine Nachricht an SmartChat AILoads the latest Google reviews for the landing page.
Daten (body): {"arguments": { ... }}
Keine Eingabefelder.
POST/v1/tools/web_research · Research on the web
settings:readKostet Credits wie eine Nachricht an SmartChat AIResearches a question on the web and returns sources. Argument: query.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
query | string | ja | |
language | string | nein |
POST/v1/tools/list_automations · List automations
automations:readLists the automations with state and trigger.
Daten (body): {"arguments": { ... }}
Keine Eingabefelder.
POST/v1/tools/create_automation · Create automation
automations:writeKostet Credits wie eine Nachricht an SmartChat AICreates an automation (trigger and actions).
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
name | string | ja | |
trigger_type | string | ja | |
trigger_config | object | nein | |
actions | array of object | ja | |
contact_fields | array of string | nein | |
activate | boolean | nein |
POST/v1/tools/update_automation · Change automation
automations:writeKostet Credits wie eine Nachricht an SmartChat AIChanges an automation, or pauses and activates it.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
automation_id | string | ja | |
name | string | nein | |
status | string | nein | |
actions | any | nein | |
trigger_config | any | nein |
POST/v1/tools/test_automation · Test automation
automations:writeRuns an automation once with test data.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
automation_id | string | ja | |
sample_payload | object | nein |
POST/v1/tools/get_automation_setup · Get automation setup
automations:readReturns how an automation is connected (webhook address, fields).
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
automation_id | string | ja |
POST/v1/tools/connect_calendar · Connect calendar
automations:writeConnects a calendar (private iCal address) to an automation.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
automation_id | string | ja | |
calendar_url | string | nein | |
provider | string | nein | |
lead_minutes | number | nein |
POST/v1/tools/get_automation_runs · Get automation runs
automations:readReturns the latest runs of an automation.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
automation_id | string | ja | |
limit | number | nein |
POST/v1/tools/delete_automation · Delete automation
automations:deleteDeletes an automation. First call returns a summary and confirm_token.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
automation_id | string | ja | |
confirm_token | string | nein |
POST/v1/tools/create_free_automation · Create custom automation
automations:writeKostet Credits wie eine Nachricht an SmartChat AICreates an automation from a custom rule. First call returns a preview; the second call with confirmed: true creates it.
Daten (body): {"arguments": { ... }}
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
name | string | ja | |
regel | object | ja | |
actions | array of object | ja | |
contact_fields | array of string | nein | |
activate | boolean | nein | |
confirmed | boolean | nein |
Fragen?
Schreib uns an support@smartchat.marketing