---
title: "Kits and templates"
method: GET
path: "/api/v1/automations/templates"
tags: ["Automations"]
---

# Kits and templates

`GET /api/v1/automations/templates`

## Request

- Base URL: `https://spoofy.social`
- URL: `https://spoofy.social/api/v1/automations/templates`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `better-auth.session_token`

The built-in kits (a token launch, a YouTube video, a Telegram channel) and the templates you saved. Use one with POST /api/v1/automations {"template": id, "links": {…}}.

## Response `200`

Templates.

- object
  - `templates` AutomationTemplate[]
    - `id` string: A kit id, or your template's id.
    - `name` string
    - `kind` string
    - `builtIn` boolean
    - `description` string
    - `slots` object[]: Kits: the links to give in `links`.
      - `key` string
      - `label` string
      - `platform` string
      - `target` string
      - `hint` string
    - `steps` object[]
    - `body` object: Saved templates: the automation, links as {slot} placeholders.
    - `createdAt` string, date-time

## Other responses

- `401`: No valid API key or session.
- `429`: Slow down: too many requests in a short time. Wait `Retry-After` seconds and carry on.

---

[API](https://skmtc.dev/spoofy/apis/spoofy-api.md) · [All operations](https://skmtc.dev/spoofy/apis/spoofy-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spoofy/apis/spoofy-api/revisions/58adc986f826?raw)
