API Reference
Get a writing style
GET
/v1/accounts/{accountGroupId}/writing-styles/{writingStyleId}Integration notes
Permissions
templates:read for reads and templates:write for create, update, and delete operations.
Follow-up
Template operations are synchronous. Read campaigns or content slots again when downstream state depends on a changed template.
Parameters
accountGroupIdPathType: string
Account group ID that scopes the request.
Required
writingStyleIdPathType: string
Writing style ID used for generated or templated content.
Required
Request body
This endpoint does not define a request body.
Responses
200
Writing style details
Schema: WritingStyleSuccessResponse
400
Request validation failed
Schema: ValidationErrorResponse
401
Invalid or missing API key
Schema: ErrorResponse
403
Missing required permission
Schema: ErrorResponse
404
Resource not found
Schema: ErrorResponse
429
Rate limit exceeded
Schema: ErrorResponse
500
Internal server error
Schema: ErrorResponse
Response examples
200 Example JSONWritingStyleSuccessResponse
{
"success": true,
"data": {
"id": "507f1f77bcf86cd799439011",
"name": "Avery Stone",
"description": "string",
"contentType": "direct_message",
"samples": [
{
"type": "signal",
"message": "Thanks for the context. I can send over details this afternoon.",
"subject": "Quick follow-up",
"signalTag": "string"
}
],
"includeRules": [
"string"
],
"excludeRules": [
"string"
],
"useStrictTemplate": true,
"createdAt": "2026-04-28T15:30:00.000Z"
},
"error": null,
"traceId": "507f1f77bcf86cd799439011"
}400 Example JSONValidationErrorResponse
{
"success": false,
"data": null,
"error": {
"code": "VALIDATION_ERROR",
"message": "Thanks for the context. I can send over details this afternoon.",
"details": "string"
},
"traceId": "507f1f77bcf86cd799439011"
}401 Example JSONErrorResponse
{
"success": false,
"data": null,
"error": {
"code": "string",
"message": "Thanks for the context. I can send over details this afternoon.",
"details": "string"
},
"traceId": "507f1f77bcf86cd799439011"
}403 Example JSONErrorResponse
{
"success": false,
"data": null,
"error": {
"code": "string",
"message": "Thanks for the context. I can send over details this afternoon.",
"details": "string"
},
"traceId": "507f1f77bcf86cd799439011"
}404 Example JSONErrorResponse
{
"success": false,
"data": null,
"error": {
"code": "string",
"message": "Thanks for the context. I can send over details this afternoon.",
"details": "string"
},
"traceId": "507f1f77bcf86cd799439011"
}429 Example JSONErrorResponse
{
"success": false,
"data": null,
"error": {
"code": "string",
"message": "Thanks for the context. I can send over details this afternoon.",
"details": "string"
},
"traceId": "507f1f77bcf86cd799439011"
}500 Example JSONErrorResponse
{
"success": false,
"data": null,
"error": {
"code": "string",
"message": "Thanks for the context. I can send over details this afternoon.",
"details": "string"
},
"traceId": "507f1f77bcf86cd799439011"
}