docs
ContactPoint
Add ContactPoint structured data to your Sanity-powered site. Tell search engines how users can reach your organization.
About ContactPoint
ContactPoint schema tells search engines how users can reach your organization. Structured contact data can surface directly in knowledge panels and search results, making it easier for customers to find your support channels, phone numbers, and email addresses.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
contactType | string | ✓ | The type of contact (e.g. customer support, sales). |
email | string | — | The email address for this contact point. |
faxNumber | string | — | Contact fax number. |
telephone | string | — | The phone number for this contact point. |
availableLanguage | array of strings | — | Languages in which the contact point is available. |
Plugin Registration
sanity.config.ts
import { defineConfig } from "sanity";
import { schemaOrgContactPointPlugin } from "sanity-plugin-seofields/schema";
export default defineConfig({
// ... your project config
plugins: [
schemaOrgContactPointPlugin(),
],
});Schema Usage
Add the schemaOrgContactPoint field to any document schema:
schemas/page.ts
import { defineField, defineType } from 'sanity'
export default defineType({
name: 'page',
title: 'Page',
type: 'document',
fields: [
// ... your other fields
defineField({
name: 'schemaOrgContactPoint',
title: 'Contact Point',
type: 'schemaOrgContactPoint',
}),
],
})GROQ Query
GROQ query
*[_type == "contactPoint"][0]{
schemaOrgContactPoint {
contactType,
email,
faxNumber,
telephone,
availableLanguage
}
}Next.js Component
app/layout.tsx
import { ContactPointSchema } from "sanity-plugin-seofields/schema/next";
export default function Layout({ data }) {
return <ContactPointSchema data={data.schemaOrgContactPoint} />
}JSON-LD Output
Generated JSON-LD
{
"@context": "https://schema.org",
"@type": "ContactPoint",
"contactType": "customer support",
"email": "support@example.com",
"faxNumber": "+1-555-0199",
"telephone": "+1-555-0100",
"availableLanguage": ["English", "Spanish"]
}Last updated: May 27, 2026. Tested with: Sanity Studio v3, v4, and v5.
Was this page helpful?