API ReferenceView as MarkdownOpenAPI

Sad Bot Agency Outreachtemplate

View as Markdown

Endpoints that need a token: the site owner creates it in their admin (Developers > API reference). AI assistants: how to ask the user for one.

5 endpoints.

Retrieve the sad bot agency outreachtemplate

Returns the sad bot agency outreachtemplate.

Public

Public - no token needed.

Query parameters
dependability_filterstring

Only sad bot agency outreachtemplates with this dependability filter.

no_populatestring

Only sad bot agency outreachtemplates with this no populate.

Status codes

200 500

GET/sad-bot-agency-outreachtemplate
curl -X GET 'http://debate.bg/sad-bot-agency-outreachtemplate?ionic=true&dependability_filter=...&no_populate=...'
Response
{
  "name": "Example",
  "make": "6543210fedcba98765432100",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z"
}

Create a sad bot agency outreachtemplate

Creates a sad bot agency outreachtemplate from the fields sent.

User token

Needs the token of a signed-in user.

Status codes

201 400 401 500

POST/sad-bot-agency-outreachtemplate
curl -X POST 'http://debate.bg/sad-bot-agency-outreachtemplate?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "name": "Example",
  "make": "6543210fedcba98765432100",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z"
}

Retrieve a sad bot agency outreachtemplate

Returns one sad bot agency outreachtemplate, found by its ID.

Public

Public - no token needed.

Path parameters
idstringRequired

The ID of the sad bot agency outreachtemplate.

Query parameters
no_populatestring

Only sad bot agency outreachtemplates with this no populate.

Status codes

200 404 500

GET/sad-bot-agency-outreachtemplate/:id
curl -X GET 'http://debate.bg/sad-bot-agency-outreachtemplate/{id}?ionic=true&no_populate=...'
Response
{
  "name": "Example",
  "make": "6543210fedcba98765432100",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z"
}

Update a sad bot agency outreachtemplate

Changes the fields sent; the others stay as they are.

User token

Needs the token of a signed-in user.

Path parameters
idstringRequired

The ID of the sad bot agency outreachtemplate.

Status codes

200 400 401 404 500

PATCH/sad-bot-agency-outreachtemplate/:id
curl -X PATCH 'http://debate.bg/sad-bot-agency-outreachtemplate/{id}?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "name": "Example",
  "make": "6543210fedcba98765432100",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z"
}

Delete a sad bot agency outreachtemplate

Deletes the sad bot agency outreachtemplate. This cannot be undone.

User token

Needs the token of a signed-in user.

Path parameters
idstringRequired

The ID of the sad bot agency outreachtemplate.

Returns

Returns an empty answer on success.

Status codes

200 401 404 500

DELETE/sad-bot-agency-outreachtemplate/:id
curl -X DELETE 'http://debate.bg/sad-bot-agency-outreachtemplate/{id}?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
↑↓ Navigate↵ GoEsc Close