Embed Copier

Embed
Preview of the card
<a href="https://shippified.net/docs/ref-embed-copier"><img src="https://shippified.net/docs/_api/public/orgs/5b8789b1-481a-41f5-8e5a-5f30d11f5151/spaces/ae0c5af4-cc84-4899-9078-2faf8e7a6fc5/pages/e604f308-b313-48ec-95e4-864c4fd5401b/social-card.svg?v=4bd9898cfc89" alt="Embed Copier" width="600" height="315"></a>
GET https://shippified.net/api/embed-copier/config

Get your embed-copier submission secret and the bot invite link.

Creates the secret on first call. Your submission URL is /api/embed-copier/{secret}/submit — give it to the embed-copier bot (/setshippified).

Code samples

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

Responses

200 OK
{
  "secret": "string",
  "inviteUrl": "string"
}
401 Not authenticated.
POST https://shippified.net/api/embed-copier/rotate

Rotate the submission secret.

The old submission URL stops working immediately; give the bot the new one.

Code samples

cURL
curl -X POST "https://shippified.net/api/embed-copier/rotate"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Rotated.
{
  "secret": "string"
}
401 Not authenticated.
POST https://shippified.net/api/embed-copier/{secret}/submit

Submit a Discord embed as a template sample.

Called by the embed-copier bot. No auth header — the secret in the URL identifies the workspace. Limited to 30 submissions/min per workspace.

Parameters

secret
string
path
required
Your submission secret from GET /api/embed-copier/config.

Request body

application/json
embed
object
required
One Discord embed object (embeds[0] of the message).
name
string
Label for the sample; falls back to the embed title. Truncated to 80 chars.
sourceUrl
string
Link to the original message. Truncated to 500 chars.
fromGuildId
string
fromGuildName
string
fromUserId
string
fromUserName
string
{
  "embed": {},
  "name": "string",
  "sourceUrl": "string",
  "fromGuildId": "string",
  "fromGuildName": "string",
  "fromUserId": "string",
  "fromUserName": "string"
}

Code samples

cURL
curl -X POST "https://shippified.net/api/embed-copier/{secret}/submit" \
  -H "Content-Type: application/json" \
  -d '{"embed":{},"name":"string","sourceUrl":"string","fromGuildId":"string","fromGuildName":"string","fromUserId":"string","fromUserName":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

201 Sample saved.
{
  "id": "string",
  "name": "string"
}
400 Missing embed object.
{
  "error": "string"
}
404 Unknown or rotated secret.
{
  "error": "string"
}
429 More than 30 submissions in the last minute.
{
  "error": "string"
}
GET https://shippified.net/api/embed-samples

List embed samples collected by the bot.

Load one into the template builder as a sample payload.

Code samples

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

Responses

200 OK
{
  "samples": [
    {
      "id": "embed_mpvu9uim_q1w2e",
      "userId": "string",
      "name": "string",
      "sourceUrl": "string",
      "fromGuildId": "string",
      "fromGuildName": "string",
      "fromUserId": "string",
      "fromUserName": "string",
      "embed": {},
      "promotedToLibrary": true,
      "submittedAt": "2024-01-01T00:00:00Z"
    }
  ]
}
401 Not authenticated.
DELETE https://shippified.net/api/embed-samples/{id}

Delete an embed sample.

Parameters

id
string
path
required

Code samples

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

Responses

200 Deleted.
{
  "ok": true
}
401 Not authenticated.
404 Sample not found.
POST https://shippified.net/api/embed-samples/{id}/promote

Submit a sample for review as a candidate built-in template (or withdraw it).

Parameters

id
string
path
required

Request body

application/json
promoted
boolean
Send false to withdraw.
{
  "promoted": true
}

Code samples

cURL
curl -X POST "https://shippified.net/api/embed-samples/{id}/promote" \
  -H "Content-Type: application/json" \
  -d '{"promoted":true}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Updated sample.
{
  "sample": {
    "id": "embed_mpvu9uim_q1w2e",
    "userId": "string",
    "name": "string",
    "sourceUrl": "string",
    "fromGuildId": "string",
    "fromGuildName": "string",
    "fromUserId": "string",
    "fromUserName": "string",
    "embed": {},
    "promotedToLibrary": true,
    "submittedAt": "2024-01-01T00:00:00Z"
  }
}
401 Not authenticated.
404 Sample not found.
Updated