describes a piece of reusable content. You must provide a name for the snippet and the `value`—the content that appears in messages that use the snippet.
Behavioral DataBroadcastCampaignsCDPCustomer DataCustomer Data PlatformData IngestionEmailEvent TrackingMarketing AutomationMessagingPush NotificationsSegmentsSMSTransactional EmailA2A
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/customer-io/json-schema/customer-io-snippet-schema.json",
"title": "snippet",
"description": "describes a piece of reusable content. You must provide a name for the snippet and the `value`—the content that appears in messages that use the snippet.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/customer-io-snippets-api-openapi.yml#/components/schemas/snippet",
"x-scalar-ignore": true,
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the snippet, must be unique."
},
"value": {
"type": "string",
"description": "The contents of the snippet."
},
"updated_at": {
"type": "integer",
"format": "unix timestamp",
"description": "The last date-time the snippet was updated.",
"readOnly": true
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.