cURL
curl "https://api.alura.io/v1/workspace/conversations/saved-replies" \
-H "Authorization: Bearer $ALURA_API_KEY"const res = await fetch('https://api.alura.io/v1/workspace/conversations/saved-replies', {
headers: {
Authorization: `Bearer ${process.env.ALURA_API_KEY}`,
},
});
console.log(await res.json());import json
import os
import urllib.request
request = urllib.request.Request(
"https://api.alura.io/v1/workspace/conversations/saved-replies",
headers={
"Authorization": f"Bearer {os.environ['ALURA_API_KEY']}",
},
)
with urllib.request.urlopen(request) as response:
print(json.load(response)){
"object": "list",
"data": [
{
"object": "workspace.saved_reply",
"id": "c4d5e6f7-a8b9-4c0d-9e1f-2a3b4c5d6e74",
"title": "Order shipped",
"body": "Good news: your mug is on its way. Your tracking link is in your Etsy purchases.",
"shop_ids": null,
"labels": [
"shipping"
],
"actions": [
{
"type": "close",
"value": null
}
],
"available_for": "everyone",
"enabled_for_ai": true,
"usage_count": 31,
"updated_at": "2026-10-12T08:00:00.000Z"
},
{
"object": "workspace.saved_reply",
"id": "d5e6f7a8-b9c0-4d1e-8f2a-3b4c5d6e7f85",
"title": "Proof before printing",
"body": "We will send you a proof of your name on the mug before we print it.",
"shop_ids": [
"30577120"
],
"labels": [],
"actions": [
{
"type": "addLabel",
"value": "proofs"
}
],
"available_for": "everyone",
"enabled_for_ai": true,
"usage_count": 9,
"updated_at": "2026-10-13T08:00:00.000Z"
}
],
"has_more": false,
"next_cursor": null,
"total": {
"value": 2,
"relation": "eq"
}
}{
"type": "https://docs.alura.io/errors/invalid_request",
"title": "Invalid request",
"status": 400,
"code": "invalid_request",
"detail": "Invalid request",
"suggestion": "Fix the request as the detail says, then send it again.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"code": "unauthorized",
"detail": "Unauthorized",
"suggestion": "Send a valid API key as `Authorization: Bearer alura_sk_...`.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/credits_exhausted",
"title": "API credits exhausted",
"status": 402,
"code": "credits_exhausted",
"detail": "API credits exhausted",
"suggestion": "Upgrade the plan or wait for the monthly reset.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/plan_required",
"title": "Plan required",
"status": 403,
"code": "plan_required",
"detail": "Plan required",
"suggestion": "Upgrade the workspace plan to use this operation.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/not_found",
"title": "Not found",
"status": 404,
"code": "not_found",
"detail": "Not found",
"suggestion": "Check the ID, or search for it first.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/method_not_allowed",
"title": "Method not allowed",
"status": 405,
"code": "method_not_allowed",
"detail": "Method not allowed",
"suggestion": "Use one of the methods in the Allow header.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/rate_limited",
"title": "Rate limited",
"status": 429,
"code": "rate_limited",
"detail": "Rate limited",
"suggestion": "Wait for Retry-After, then retry.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/internal_error",
"title": "Internal error",
"status": 500,
"code": "internal_error",
"detail": "Internal error",
"suggestion": "Retry; if it keeps failing, report the request_id.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/base_unverifiable",
"title": "Base not verifiable",
"status": 503,
"code": "base_unverifiable",
"detail": "Base not verifiable",
"suggestion": "Alura could not read from Etsy the text or inventory this write names a version of, so it could not check it, and nothing was written. Retry after Retry-After.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}Knowledge
List saved replies
List Alura’s saved replies, the canned answers of its Messages page, newest first.
cURL
curl "https://api.alura.io/v1/workspace/conversations/saved-replies" \
-H "Authorization: Bearer $ALURA_API_KEY"const res = await fetch('https://api.alura.io/v1/workspace/conversations/saved-replies', {
headers: {
Authorization: `Bearer ${process.env.ALURA_API_KEY}`,
},
});
console.log(await res.json());import json
import os
import urllib.request
request = urllib.request.Request(
"https://api.alura.io/v1/workspace/conversations/saved-replies",
headers={
"Authorization": f"Bearer {os.environ['ALURA_API_KEY']}",
},
)
with urllib.request.urlopen(request) as response:
print(json.load(response)){
"object": "list",
"data": [
{
"object": "workspace.saved_reply",
"id": "c4d5e6f7-a8b9-4c0d-9e1f-2a3b4c5d6e74",
"title": "Order shipped",
"body": "Good news: your mug is on its way. Your tracking link is in your Etsy purchases.",
"shop_ids": null,
"labels": [
"shipping"
],
"actions": [
{
"type": "close",
"value": null
}
],
"available_for": "everyone",
"enabled_for_ai": true,
"usage_count": 31,
"updated_at": "2026-10-12T08:00:00.000Z"
},
{
"object": "workspace.saved_reply",
"id": "d5e6f7a8-b9c0-4d1e-8f2a-3b4c5d6e7f85",
"title": "Proof before printing",
"body": "We will send you a proof of your name on the mug before we print it.",
"shop_ids": [
"30577120"
],
"labels": [],
"actions": [
{
"type": "addLabel",
"value": "proofs"
}
],
"available_for": "everyone",
"enabled_for_ai": true,
"usage_count": 9,
"updated_at": "2026-10-13T08:00:00.000Z"
}
],
"has_more": false,
"next_cursor": null,
"total": {
"value": 2,
"relation": "eq"
}
}{
"type": "https://docs.alura.io/errors/invalid_request",
"title": "Invalid request",
"status": 400,
"code": "invalid_request",
"detail": "Invalid request",
"suggestion": "Fix the request as the detail says, then send it again.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"code": "unauthorized",
"detail": "Unauthorized",
"suggestion": "Send a valid API key as `Authorization: Bearer alura_sk_...`.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/credits_exhausted",
"title": "API credits exhausted",
"status": 402,
"code": "credits_exhausted",
"detail": "API credits exhausted",
"suggestion": "Upgrade the plan or wait for the monthly reset.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/plan_required",
"title": "Plan required",
"status": 403,
"code": "plan_required",
"detail": "Plan required",
"suggestion": "Upgrade the workspace plan to use this operation.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/not_found",
"title": "Not found",
"status": 404,
"code": "not_found",
"detail": "Not found",
"suggestion": "Check the ID, or search for it first.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/method_not_allowed",
"title": "Method not allowed",
"status": 405,
"code": "method_not_allowed",
"detail": "Method not allowed",
"suggestion": "Use one of the methods in the Allow header.",
"retryable": false,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/rate_limited",
"title": "Rate limited",
"status": 429,
"code": "rate_limited",
"detail": "Rate limited",
"suggestion": "Wait for Retry-After, then retry.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/internal_error",
"title": "Internal error",
"status": 500,
"code": "internal_error",
"detail": "Internal error",
"suggestion": "Retry; if it keeps failing, report the request_id.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}{
"type": "https://docs.alura.io/errors/base_unverifiable",
"title": "Base not verifiable",
"status": 503,
"code": "base_unverifiable",
"detail": "Base not verifiable",
"suggestion": "Alura could not read from Etsy the text or inventory this write names a version of, so it could not check it, and nothing was written. Retry after Retry-After.",
"retryable": true,
"request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}Cost: Free.
Alura’s saved replies (the canned answers of its Messages page, not Etsy’s), newest first: their text, labels, which shops they are for (
curl "https://api.alura.io/v1/workspace/conversations/saved-replies" \
-H "Authorization: Bearer $ALURA_API_KEY"
shop_id narrows to replies for every shop or for one of these), whether the assistant may use them, and the actions Alura runs when the seller sends one there (served as stored; the API never runs them). A reply saved for me shows only to the member who saved it (a key’s creator, a grant’s user). Read-only. Needs the knowledge:read scope; any workspace member may read.