Logo
Search
Docs

Templates by industry

GET https://app.sulus.ai/api/assistants/prompt-templates/by-industry

Active prompt templates, optionally filtered by industry

Authentication

Send a bearer token created on your dashboard's Developer page:

Authorization: Bearer <YOUR_API_KEY>

Query parameters

industry string Optional Nullable

Industry filter.

Validation: string — empty returns all active templates
Stored in prompt_templates.industry

Errors

StatusMeaningBody
401 Missing or invalid bearer token
403 Feature assistants not enabled for the account
curl --request GET \
  --url https://app.sulus.ai/api/assistants/prompt-templates/by-industry \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
import requests

url = "https://app.sulus.ai/api/assistants/prompt-templates/by-industry"
headers = {"Authorization": "Bearer <YOUR_API_KEY>"}

response = requests.get(url, headers=headers)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	url := "https://app.sulus.ai/api/assistants/prompt-templates/by-industry"
	req, _ := http.NewRequest("GET", url, nil)
	req.Header.Add("Authorization", "Bearer <YOUR_API_KEY>")
	res, _ := http.DefaultClient.Do(req)
	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)
	fmt.Println(string(body))
}
Response 200
{
    "success": true,
    "data": [
        {
            "id": 5,
            "name": "General Receptionist",
            "description": "A friendly front-desk assistant that greets callers, answers common questions, and books or transfers as needed.",
            "custom_fields": [
                {
                    "name": "emergency_phone",
                    "label": "Emergency contact number",
                    "type": "text",
                    "required": false,
                    "placeholder": "+1 (555) 555-0123",
                    "default_value": "",
                    "options": []
                },
                {
                    "name": "booking_link",
                    "label": "Online booking link",
                    "type": "text",
                    "required": false,
                    "placeholder": "https://acmedental.com/book",
                    "default_value": "",
                    "options": []
                }
            ],
            "is_default": true,
            "assistant_roles": [
                {
                    "id": 1,
                    "name": "Receptionist",
                    "slug": "receptionist"
                }
            ]
        },
        {
            "id": 9,
            "name": "Dental Front Desk",
            "description": "Industry-tuned for dental practices: appointment booking, insurance questions, and emergency triage.",
            "custom_fields": [
                {
                    "name": "insurance_providers",
                    "label": "Accepted insurance providers",
                    "type": "text",
                    "required": false,
                    "placeholder": "Delta Dental, Cigna, Aetna",
                    "default_value": "",
                    "options": []
                }
            ],
            "is_default": false,
            "assistant_roles": [
                {
                    "id": 1,
                    "name": "Receptionist",
                    "slug": "receptionist"
                }
            ]
        }
    ]
}