Get style guides
curl --request GET \
--url https://api.dittowords.com/v2/styleguides \
--header 'Authorization: <api-key>'{
"styleguides": [
{
"name": "Acme Inc.",
"description": "Voice and tone for Acme Inc. product text.",
"variant": null,
"sections": [
{
"name": "Foundations",
"kind": "rules",
"rules": [
{
"name": "Be concise",
"description": "Remove filler words so text is easy to scan.",
"examples": [
{
"from": "Please click the button below",
"to": "Click below"
}
],
"tags": []
}
]
},
{
"name": "Word List",
"kind": "wordlist",
"rules": [
{
"term": "AI agent",
"disallowed": [
"Bot"
],
"description": "Use 'AI agent' instead of 'bot'.",
"tags": []
}
]
}
]
},
{
"name": "French",
"description": "Localized guidance for French text.",
"variant": {
"id": "french",
"name": "French",
"localeCode": "fr-FR"
},
"sections": []
}
]
}Style guides
Get style guides
Returns the style guides created in the workspace, with their sections and rules. The built-in default style guide is not included.
GET
/
styleguides
Get style guides
curl --request GET \
--url https://api.dittowords.com/v2/styleguides \
--header 'Authorization: <api-key>'{
"styleguides": [
{
"name": "Acme Inc.",
"description": "Voice and tone for Acme Inc. product text.",
"variant": null,
"sections": [
{
"name": "Foundations",
"kind": "rules",
"rules": [
{
"name": "Be concise",
"description": "Remove filler words so text is easy to scan.",
"examples": [
{
"from": "Please click the button below",
"to": "Click below"
}
],
"tags": []
}
]
},
{
"name": "Word List",
"kind": "wordlist",
"rules": [
{
"term": "AI agent",
"disallowed": [
"Bot"
],
"description": "Use 'AI agent' instead of 'bot'.",
"tags": []
}
]
}
]
},
{
"name": "French",
"description": "Localized guidance for French text.",
"variant": {
"id": "french",
"name": "French",
"localeCode": "fr-FR"
},
"sections": []
}
]
}⌘I