Resend · Schema

Resend Audience

JSON Schema for a Resend audience object used for managing contact lists.

EmailDeveloper ToolsTransactional EmailMarketing Email

Properties

Name Type Description
id string The ID of the audience.
object string The object type.
name string The name of the audience.
created_at stringnull Date the audience was created.
View JSON Schema on GitHub

JSON Schema

resend-audience-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/api-evangelist/resend/json-schema/resend-audience-schema.json",
  "title": "Resend Audience",
  "description": "JSON Schema for a Resend audience object used for managing contact lists.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the audience.",
      "example": "78261eea-8f8b-4381-83c6-79fa7120f1cf"
    },
    "object": {
      "type": "string",
      "const": "audience",
      "description": "The object type."
    },
    "name": {
      "type": "string",
      "description": "The name of the audience.",
      "example": "Registered Users"
    },
    "created_at": {
      "type": ["string", "null"],
      "format": "date-time",
      "description": "Date the audience was created."
    }
  },
  "required": ["id", "name"]
}