Embed Copier
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
secretstring
path
required
Your submission secret from
GET /api/embed-copier/config.Request body
application/json
embedobject
required
One Discord embed object (
embeds[0] of the message).namestring
Label for the sample; falls back to the embed title. Truncated to 80 chars.
sourceUrlstring
Link to the original message. Truncated to 500 chars.
fromGuildIdstring
fromGuildNamestring
fromUserIdstring
fromUserNamestring
{
"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
idstring
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
idstring
path
required
Request body
application/json
promotedboolean
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