Bots

Embed
Preview of the card
<a href="https://shippified.net/docs/ref-bots"><img src="https://shippified.net/docs/_api/public/orgs/5b8789b1-481a-41f5-8e5a-5f30d11f5151/spaces/ae0c5af4-cc84-4899-9078-2faf8e7a6fc5/pages/9f2d7cbc-508c-4f7e-ab8c-a8d35165b9c3/social-card.svg?v=4bd9898cfc89" alt="Bots" width="600" height="315"></a>
GET https://shippified.net/api/bots

List bots.

Parameters

limit
integer
query
offset
integer
query

Code samples

cURL
curl -X GET "https://shippified.net/api/bots"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
{}
POST https://shippified.net/api/bots

Create a Discord webhook bot.

Request body

application/json
id
string
required
userId
string
slug
string
required
name
string
required
avatar
string
templateId
string
required
templateHint
string
samplePayload
string
outputWebhook
string
createdAt
string
required
{
  "id": "string",
  "userId": "string",
  "slug": "string",
  "name": "string",
  "avatar": "string",
  "templateId": "string",
  "templateHint": "string",
  "samplePayload": "string",
  "outputWebhook": "string",
  "createdAt": "2024-01-01T00:00:00Z"
}

Code samples

cURL
curl -X POST "https://shippified.net/api/bots" \
  -H "Content-Type: application/json" \
  -d '{"id":"string","userId":"string","slug":"string","name":"string","avatar":"string","templateId":"string","templateHint":"string","samplePayload":"string","outputWebhook":"string","createdAt":"2024-01-01T00:00:00Z"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

201 Created bot.
{
  "id": "string",
  "userId": "string",
  "slug": "string",
  "name": "string",
  "avatar": "string",
  "templateId": "string",
  "templateHint": "string",
  "samplePayload": "string",
  "outputWebhook": "string",
  "createdAt": "2024-01-01T00:00:00Z"
}
GET https://shippified.net/api/bots/{id}

Get one bot.

Parameters

id
string
path
required

Code samples

cURL
curl -X GET "https://shippified.net/api/bots/{id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
404 Not found.
DELETE https://shippified.net/api/bots/{id}

Delete bot.

Parameters

id
string
path
required

Code samples

cURL
curl -X DELETE "https://shippified.net/api/bots/{id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Deleted.
404 Not found.
PATCH https://shippified.net/api/bots/{id}

Update bot.

Parameters

id
string
path
required

Code samples

cURL
curl -X PATCH "https://shippified.net/api/bots/{id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Updated bot.
404 Not found.
GET https://shippified.net/api/bots/{id}/logs

Recent payloads this bot received and what happened to each.

Newest first. Every post that reached the bot is logged, including ones that were ignored or rejected, so this is where to look when a checkout didn't turn into an order.

Parameters

id
string
path
required
limit
integer
query

Code samples

cURL
curl -X GET "https://shippified.net/api/bots/{id}/logs"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
{
  "logs": [
    {
      "id": "log_mpvu9uim_k3x9q",
      "userId": "string",
      "channel": "discord",
      "botId": "string",
      "botName": "string",
      "emailSourceId": "string",
      "rawPayload": "string",
      "parser": "string",
      "parsedOrderId": "string",
      "outcome": "created",
      "error": "string",
      "receivedAt": "2024-01-01T00:00:00Z"
    }
  ]
}
401 Not authenticated.
404 Bot not found.
Updated