🎯 Purpose:
Custom fields extend the default contact schema with business-specific data:
Customer preferences and attributes
Behavioral tracking fields
Integration-specific identifiers
Segmentation criteria
📊 Field Types:
0 - Text: Single-line text (max 255 chars)
1 - Number: Integer or decimal values
2 - Date: Date values (YYYY-MM-DD)
3 - Boolean: True/false values
4 - Phone number: International phone number format
💡 Use Cases:
Customer lifetime value (Number)
Subscription expiry date (Date)
Product preferences (Text)
Account type (Text)
Last purchase date (Date)
Loyalty points (Number)
🔄 Field Usage:
Set values during contact creation/update
Use in segmentation rules
Personalize email content with merge tags
Export in contact reports
⚡ Best Practices:
Use descriptive field names
Choose appropriate field types
Document field purposes
Limit total custom fields for performance
Authorizations
TeamApiKeyBearerAuth
X-Team-ApiKey
string
header
required
Team API key for authentication. Find your API key in SendX Settings → Team API Key.
Example:
X-Team-ApiKey: your_team_api_key_here
Body
application/json
name
string
required
Custom field name (must be unique within team)
Example:
"Account Type"
type
integer
required
Field data type.
Values:
0 - Text (max 255 characters)
1 - Number (integer or decimal)
2 - Date (YYYY-MM-DD format)
3 - Boolean (true/false)
4 - Phone number (international format)
description
string
required
Field description for documentation
Example:
"Customer account classification"
Response
✅ Custom field created successfully
id
string
Unique field identifier with custom_field_ prefix
Pattern: ^custom_field_[a-zA-Z0-9]{22}$
Example:
"custom_field_abc123def456ghi789"
name
string
Custom field name
Example:
"Account Type"
type
integer
Field data type.
Values:
0 - Text (max 255 characters)
1 - Number (integer or decimal)
2 - Date (YYYY-MM-DD format)
3 - Boolean (true/false)
4 - Phone number (international format)
description
string
Field description for documentation
Example:
"Customer account classification"
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"SendX Docs","colors":{"primary":"#ffd700","light":"#ffd700","dark":"#ffaa00"},"logo":{"light":"https://mintcdn.com/sendx-31f00733/3nIKI_xln-0gUAbn/logo/light.svg?fit=max\u0026auto=format\u0026n=3nIKI_xln-0gUAbn\u0026q=85\u0026s=5ce863c22b88897598d8f817e4420c6d","dark":"https://mintcdn.com/sendx-31f00733/3nIKI_xln-0gUAbn/logo/dark.svg?fit=max\u0026auto=format\u0026n=3nIKI_xln-0gUAbn\u0026q=85\u0026s=92d7a2d0308e90e285be961ebcd78e01"},"favicon":"https://mintcdn.com/sendx-31f00733/3nIKI_xln-0gUAbn/favicon.svg?fit=max\u0026auto=format\u0026n=3nIKI_xln-0gUAbn\u0026q=85\u0026s=d0f924b5471196116b6f44d8bf8393f7","navbar":{"links":[{"href":"mailto:support@sendx.io","label":"Support"}],"primary":{"type":"button","label":"SendX","href":"https://app.sendx.io/"}},"footer":{"socials":{"x":"https://x.com/sendxio","github":"https://github.com/sendx","linkedin":"https://www.linkedin.com/company/sendx","youtube":"https://www.youtube.com/@sendxio"}},"integrations":{"intercom":{"appId":"APP_ID"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sendx-31f00733","hasAudioNarration":false,"actualSubdomain":"sendx-31f00733","customDomains":["docs.sendx.io"],"gitSource":{"type":"github","owner":"sendx","repo":"sendx-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6af4544111a64f5928888840","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API Reference","count":75},{"language":"default","tag":"Welcome","count":12},{"language":"default","tag":"Getting Started","count":7},{"language":"default","tag":"Webhook","count":7},{"language":"default","tag":"Quickstart","count":7},{"language":"default","tag":"Contact","count":6},{"language":"default","tag":"Custom Field","count":5},{"language":"default","tag":"List","count":5},{"language":"default","tag":"Post Category","count":5},{"language":"default","tag":"Post Tag","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/custom-field/create-custom-field","slug":"/api-reference/custom-field/create-custom-field","pageMetadata":{"openapi":"post /customfield","title":"Create custom field","description":"Creates a new custom field for storing contact data.\n","href":"/api-reference/custom-field/create-custom-field"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Creates a new custom field for storing contact data.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components};return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`🎯 Purpose:`}),`\nCustom fields extend the default contact schema with business-specific data:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Customer preferences and attributes`}),`\n`,_jsx(_components.li,{children:`Behavioral tracking fields`}),`\n`,_jsx(_components.li,{children:`Integration-specific identifiers`}),`\n`,_jsx(_components.li,{children:`Segmentation criteria`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`📊 Field Types:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`0 - Text`}),`: Single-line text (max 255 chars)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`1 - Number`}),`: Integer or decimal values`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`2 - Date`}),`: Date values (YYYY-MM-DD)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`3 - Boolean`}),`: True/false values`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`4 - Phone number`}),`: International phone number format`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`💡 Use Cases:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Customer lifetime value (Number)`}),`\n`,_jsx(_components.li,{children:`Subscription expiry date (Date)`}),`\n`,_jsx(_components.li,{children:`Product preferences (Text)`}),`\n`,_jsx(_components.li,{children:`Account type (Text)`}),`\n`,_jsx(_components.li,{children:`Last purchase date (Date)`}),`\n`,_jsx(_components.li,{children:`Loyalty points (Number)`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`🔄 Field Usage:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Set values during contact creation/update`}),`\n`,_jsx(_components.li,{children:`Use in segmentation rules`}),`\n`,_jsx(_components.li,{children:`Personalize email content with merge tags`}),`\n`,_jsx(_components.li,{children:`Export in contact reports`}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`⚡ Best Practices:`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Use descriptive field names`}),`\n`,_jsx(_components.li,{children:`Choose appropriate field types`}),`\n`,_jsx(_components.li,{children:`Document field purposes`}),`\n`,_jsx(_components.li,{children:`Limit total custom fields for performance`}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"post /customfield","title":"Create custom field","description":"Creates a new custom field for storing contact data.\n","href":"/api-reference/custom-field/create-custom-field"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/sendx-31f00733/4aa6ed8c32d296da/swan.js"],"openApiReferenceData":{"operation":{"tags":["Custom Field"],"summary":"Create custom field","description":"Creates a new custom field for storing contact data.\n","operationId":"createCustomField","security":["41c62423-22fe-4b39-8826-f175eb7b3374","9a7adffd-27cb-4921-b941-0d5bcb407b08"],"requestBody":"56ff2b31-82aa-4b83-a1a8-387dbddda564","responses":{"201":"8e9acd58-bc36-4947-a9eb-8152f58c7a1a","401":"5294e3c2-96da-4694-ac65-669805c51d7a","403":"b2ac94e4-33c5-43e1-8e3a-ea0f1d7b4b67","422":"4be3c611-908f-4c2f-bdfb-32a3b63515b5","500":"5766d6ee-7f16-465d-b109-d82e528b4708"},"method":"post","type":"path","servers":["55b201ea-c144-4553-94c6-1653b5424aed"],"path":"/customfield","baseUrlOptions":["https://api.sendx.io/api/v1/rest"],"title":"Create custom field","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","type","description"],"properties":{"name":{"type":"string","description":"Custom field name (must be unique within team)","example":"Account Type","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"type":{"type":"integer","description":"Field data type.\n\n**Values:**\n- `0` - Text (max 255 characters)\n- `1` - Number (integer or decimal)\n- `2` - Date (YYYY-MM-DD format)\n- `3` - Boolean (true/false)\n- `4` - Phone number (international format)\n","isRequired":true,"uniqueKey":"type","typeLabel":"integer"},"description":{"type":"string","description":"Field description for documentation","example":"Customer account classification","isRequired":true,"uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"Account Type","type":123,"description":"Customer account classification"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"8e9acd58-bc36-4947-a9eb-8152f58c7a1a":{"description":"✅ Custom field created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","pattern":"^custom_field_[a-zA-Z0-9]{22}$","description":"Unique field identifier with custom_field_ prefix","example":"custom_field_abc123def456ghi789","uniqueKey":"id","typeLabel":"string"},"name":{"type":"string","description":"Custom field name","example":"Account Type","uniqueKey":"name","typeLabel":"string"},"type":{"type":"integer","description":"Field data type.\n\n**Values:**\n- `0` - Text (max 255 characters)\n- `1` - Number (integer or decimal)\n- `2` - Date (YYYY-MM-DD format)\n- `3` - Boolean (true/false)\n- `4` - Phone number (international format)\n","uniqueKey":"type","typeLabel":"integer"},"description":{"type":"string","description":"Field description for documentation","example":"Customer account classification","uniqueKey":"description","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"text_field":{"title":"text_field","summary":"Text custom field","value":{"name":"Account Type","type":0,"description":"Customer account classification"}},"number_field":{"title":"number_field","summary":"Number custom field","value":{"name":"Loyalty Points","type":1,"description":"Current loyalty program points balance"}},"date_field":{"title":"date_field","summary":"Date custom field","value":{"name":"Subscription Expiry","type":2,"description":"Date when subscription expires"}}},"exampleType":"examples"}},"exampleType":"examples"},"5294e3c2-96da-4694-ac65-669805c51d7a":{"description":"❌ Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["error"],"example":"error","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Invalid request format","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["status","message"],"uniqueKey":"","typeLabel":"object"},"example":{"status":401,"message":"The Team ID or API Key specified is not valid"},"examples":{"Example":{"title":"Example","value":{"status":401,"message":"The Team ID or API Key specified is not valid"}}},"exampleType":"examples"}},"exampleType":"examples"},"b2ac94e4-33c5-43e1-8e3a-ea0f1d7b4b67":{"description":"❌ Forbidden - Resource name already exists","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["error"],"example":"error","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Invalid request format","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["status","message"],"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","message":"Resource with this name already exists"},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"Resource with this name already exists"}}},"exampleType":"examples"}},"exampleType":"examples"},"4be3c611-908f-4c2f-bdfb-32a3b63515b5":{"description":"❌ Unprocessable Entity - Invalid request format","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["error"],"example":"error","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Invalid request format","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["status","message"],"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","message":"Request body is not in proper format"},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"Request body is not in proper format"}}},"exampleType":"examples"}},"exampleType":"examples"},"5766d6ee-7f16-465d-b109-d82e528b4708":{"description":"❌ Internal Server Error - System error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["error"],"example":"error","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable error message","example":"Invalid request format","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["status","message"],"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","message":"Internal server error occurred"},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"Internal server error occurred"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"41c62423-22fe-4b39-8826-f175eb7b3374":{"TeamApiKey":{"type":"apiKey","in":"header","name":"X-Team-ApiKey","description":"Team API key for authentication. Find your API key in SendX Settings → Team API Key.\n\n**Example:**\n```\nX-Team-ApiKey: your_team_api_key_here\n```\n","scopes":[],"schemeName":"TeamApiKey"}},"9a7adffd-27cb-4921-b941-0d5bcb407b08":{"BearerAuth":{"type":"http","scheme":"bearer","description":"The same team API key, sent as a standard bearer token. Use this with tools that\nonly support `Authorization: Bearer`, such as AI agent platforms.\n\n**Example:**\n```\nAuthorization: Bearer your_team_api_key_here\n```\n","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"55b201ea-c144-4553-94c6-1653b5424aed":{"url":"https://api.sendx.io/api/v1/rest","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Team-ApiKey","description":"Team API key for authentication. Find your API key in SendX Settings → Team API Key.\n\n**Example:**\n```\nX-Team-ApiKey: your_team_api_key_here\n```\n","scopes":[],"schemeName":"TeamApiKey"},"schema":{"title":"X-Team-ApiKey","type":"string","description":"Team API key for authentication. Find your API key in SendX Settings → Team API Key.\n\n**Example:**\n```\nX-Team-ApiKey: your_team_api_key_here\n```\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"TeamApiKey","name":"X-Team-ApiKey"}],"title":"TeamApiKey"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"The same team API key, sent as a standard bearer token. Use this with tools that\nonly support `Authorization: Bearer`, such as AI agent platforms.\n\n**Example:**\n```\nAuthorization: Bearer your_team_api_key_here\n```\n","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"The same team API key, sent as a standard bearer token. Use this with tools that\nonly support `Authorization: Bearer`, such as AI agent platforms.\n\n**Example:**\n```\nAuthorization: Bearer your_team_api_key_here\n```\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"swagger.yaml"},"subdomain":"sendx-31f00733","siteName":"SendX Docs","title":"Create custom field - SendX Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-09-05T14:09:17.802Z","originalFileLocation":"api-reference/custom-field/create-custom-field.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates a new custom field for storing contact data.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SendX Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sendx-31f00733/oFBACZyJ7SbOXIH3/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/sendx-31f00733/oFBACZyJ7SbOXIH3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sendx-31f00733/oFBACZyJ7SbOXIH3/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sendx-31f00733/oFBACZyJ7SbOXIH3/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sendx-31f00733/oFBACZyJ7SbOXIH3/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/sendx-31f00733/oFBACZyJ7SbOXIH3/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/sendx-31f00733/oFBACZyJ7SbOXIH3/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/sendx-31f00733/oFBACZyJ7SbOXIH3/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/sendx-31f00733/oFBACZyJ7SbOXIH3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create custom field - SendX Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a new custom field for storing contact data.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SendX Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sendx.io/api-reference/custom-field/create-custom-field\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sendx-31f00733.mintlify.site/_mintlify/api/og/v2?division=Custom+Field\u0026amp;title=Create+custom+field\u0026amp;description=Creates+a+new+custom+field+for+storing+contact+data.%0A\u0026amp;theme=9ff196e8058282f6329177f2\u0026amp;signature=23d88c757947acee7ae7671bb449e3059b12136393e3e298329cd4118c09f4e8\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create custom field - SendX Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a new custom field for storing contact data.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sendx-31f00733.mintlify.site/_mintlify/api/og/v2?division=Custom+Field\u0026amp;title=Create+custom+field\u0026amp;description=Creates+a+new+custom+field+for+storing+contact+data.%0A\u0026amp;theme=9ff196e8058282f6329177f2\u0026amp;signature=23d88c757947acee7ae7671bb449e3059b12136393e3e298329cd4118c09f4e8\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/sendx-31f00733/oFBACZyJ7SbOXIH3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SendX Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ffd700\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sendx.io/api-reference/custom-field/create-custom-field\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/custom-field/create-custom-field.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sendx.io/#organization\",\"name\":\"SendX Docs\",\"url\":\"https://docs.sendx.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/sendx-31f00733/3nIKI_xln-0gUAbn/logo/light.svg?fit=max\u0026auto=format\u0026n=3nIKI_xln-0gUAbn\u0026q=85\u0026s=5ce863c22b88897598d8f817e4420c6d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sendx.io#website\",\"name\":\"SendX Docs\",\"url\":\"https://docs.sendx.io\",\"publisher\":{\"@id\":\"https://docs.sendx.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sendx.io/api-reference/custom-field/create-custom-field#webpage\",\"url\":\"https://docs.sendx.io/api-reference/custom-field/create-custom-field\",\"name\":\"Create custom field\",\"description\":\"Creates a new custom field for storing contact data.\",\"dateModified\":\"2025-09-05T14:09:17.802Z\",\"isPartOf\":{\"@id\":\"https://docs.sendx.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sendx.io/api-reference/custom-field/create-custom-field#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sendx.io/api-reference/custom-field/create-custom-field#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Custom Field\",\"item\":\"https://docs.sendx.io/api-reference/custom-field/get-all-custom-fields\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create custom field\",\"item\":\"https://docs.sendx.io/api-reference/custom-field/create-custom-field\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.sendx.io/api-reference/custom-field/create-custom-field#apireference\",\"headline\":\"Create custom field\",\"name\":\"Create custom field\",\"description\":\"Creates a new custom field for storing contact data.\",\"url\":\"https://docs.sendx.io/api-reference/custom-field/create-custom-field\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sendx.io/api-reference/custom-field/create-custom-field#webpage\"},\"dateModified\":\"2025-09-05T14:09:17.802Z\",\"publisher\":{\"@id\":\"https://docs.sendx.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sendx.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SendX Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"SendX Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/custom-field/create-custom-field.md","siteName":"SendX Docs","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Welcome","pages":[{"title":"Welcome","href":""}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Schemas","href":"/api-reference/schema"}]},{"group":"Getting Started","pages":[{"openapi":"post /contact/identify","title":"Identify contact","href":"/api-reference/getting-started/identify-contact"},{"openapi":"post /contact/identify/bulk","title":"Identify Bulk Contacts","href":"/api-reference/getting-started/identify-contact-bulk"},{"openapi":"post /contact/track","title":"Track contact","href":"/api-reference/getting-started/add-tracking-info"}]},{"group":"Email Sending","pages":[{"openapi":"post /send/email","title":"Send transactional email","href":"/api-reference/email-sending/send-transactional-email"},{"openapi":"post /send/template","title":"Send email using template","href":"/api-reference/email-sending/send-email-using-template"},{"title":"Personalization \u0026 Merge Tags","sidebarTitle":"Personalization","href":"/api-reference/email-sending/personalization"}]},{"group":"Contact","pages":[{"openapi":"get /contact","title":"Get all contacts","href":"/api-reference/contact/get-all-contacts"},{"openapi":"post /contact","title":"Create a new contact","href":"/api-reference/contact/create-a-new-contact"},{"openapi":"get /contact/{identifier}","title":"Get contact by ID","href":"/api-reference/contact/get-contact-by-id"},{"openapi":"put /contact/{identifier}","title":"Update contact","href":"/api-reference/contact/update-contact"},{"openapi":"delete /contact/{identifier}","title":"Delete contact","href":"/api-reference/contact/delete-contact"},{"openapi":"post /contact/unsubscribe/{identifier}","title":"Unsubscribe contact","href":"/api-reference/contact/unsubscribe-contact"}]},{"group":"Events","pages":[{"openapi":"post /events/revenue","title":"Push revenue event","href":"/api-reference/events/track-revenue-event"},{"openapi":"post /events/custom","title":"Push custom event","href":"/api-reference/events/track-custom-event"}]},{"group":"Campaign","pages":[{"openapi":"get /campaign","title":"Get all campaigns","href":"/api-reference/campaign/get-all-campaigns"},{"openapi":"post /campaign","title":"Create campaign","href":"/api-reference/campaign/create-campaign"},{"openapi":"get /campaign/{identifier}","title":"Get campaign by ID","href":"/api-reference/campaign/get-campaign-by-id"},{"openapi":"delete /campaign/{identifier}","title":"Delete campaign","href":"/api-reference/campaign/delete-campaign"}]},{"group":"List","pages":[{"openapi":"get /list","title":"Get all lists","href":"/api-reference/list/get-all-lists"},{"openapi":"post /list","title":"Create list","href":"/api-reference/list/create-list"},{"openapi":"get /list/{identifier}","title":"Get list by ID","href":"/api-reference/list/get-list-by-id"},{"openapi":"put /list/{identifier}","title":"Update list","href":"/api-reference/list/update-list"},{"openapi":"delete /list/{identifier}","title":"Delete list","href":"/api-reference/list/delete-list"}]},{"group":"Tag","pages":[{"openapi":"get /tag","title":"Get all tags","href":"/api-reference/tag/get-all-tags"},{"openapi":"post /tag","title":"Create tag","href":"/api-reference/tag/create-tag"},{"openapi":"get /tag/{identifier}","title":"Get tag by ID","href":"/api-reference/tag/get-tag-by-id"},{"openapi":"put /tag/{identifier}","title":"Update tag","href":"/api-reference/tag/update-tag"},{"openapi":"delete /tag/{identifier}","title":"Delete tag","href":"/api-reference/tag/delete-tag"}]},{"group":"Segment","pages":[{"openapi":"get /segment","title":"Get all segments","href":"/api-reference/segment/get-all-segments"},{"openapi":"get /segment/{identifier}","title":"Get segment by ID","href":"/api-reference/segment/get-segment-by-id"}]},{"group":"Sender","pages":[{"openapi":"get /sender","title":"Get all senders","href":"/api-reference/sender/get-all-senders"},{"openapi":"post /sender","title":"Create sender","href":"/api-reference/sender/create-sender"}]},{"group":"Template","pages":[{"openapi":"get /template/email","title":"Get all templates","href":"/api-reference/template/get-all-templates"},{"openapi":"post /template/email","title":"Create email template","href":"/api-reference/template/create-email-template"},{"openapi":"get /template/email/{identifier}","title":"Get template by ID","href":"/api-reference/template/get-template-by-id"},{"openapi":"put /template/email/{identifier}","title":"Update template","href":"/api-reference/template/update-template"},{"openapi":"delete /template/email/{identifier}","title":"Delete template","href":"/api-reference/template/delete-template"}]},{"group":"Custom Field","pages":[{"openapi":"get /customfield","title":"Get all custom fields","description":"Retrieves all custom fields defined for your team.\n","href":"/api-reference/custom-field/get-all-custom-fields"},{"openapi":"post /customfield","title":"Create custom field","href":"/api-reference/custom-field/create-custom-field"},{"openapi":"get /customfield/{identifier}","title":"Get custom field by ID","description":"Retrieves details about a specific custom field.\n","href":"/api-reference/custom-field/get-custom-field-by-id"},{"openapi":"put /customfield/{identifier}","title":"Update custom field","href":"/api-reference/custom-field/update-custom-field"},{"openapi":"delete /customfield/{identifier}","title":"Delete custom field","href":"/api-reference/custom-field/delete-custom-field"}]},{"group":"Domain","pages":[{"openapi":"get /domain","title":"Get all domains","href":"/api-reference/domain/get-all-domains"},{"openapi":"post /domain","title":"Create domain","href":"/api-reference/domain/create-domain"},{"openapi":"get /domain/{identifier}","title":"Get domain by ID","href":"/api-reference/domain/get-domain-by-id"},{"openapi":"delete /domain/{identifier}","title":"Delete domain","href":"/api-reference/domain/delete-domain"}]},{"group":"Webhook","pages":[{"openapi":"get /webhook","title":"Get all webhooks","href":"/api-reference/webhook/get-all-webhooks"},{"openapi":"post /webhook","title":"Create webhook","href":"/api-reference/webhook/create-webhook"},{"openapi":"get /webhook/{identifier}","title":"Get webhook by ID","href":"/api-reference/webhook/get-webhook-by-id"},{"openapi":"put /webhook/{identifier}","title":"Update webhook","href":"/api-reference/webhook/update-webhook"},{"openapi":"delete /webhook/{identifier}","title":"Delete webhook","href":"/api-reference/webhook/delete-webhook"},{"title":"SendX Webhook Object","openapi":"webhook SendXWebhooks","href":"/api-reference/webhook/sendx-webhook-object"},{"title":"Verifying SendX Webhook","href":"/api-reference/webhook/verify-webhook"}]},{"group":"Report","pages":[{"openapi":"get /report/campaign/{identifier}","title":"Get campaign report","href":"/api-reference/report/get-campaign-report"}]},{"group":"Post","pages":[{"openapi":"get /post","title":"Get all posts","href":"/api-reference/post/get-all-posts"},{"openapi":"post /post","title":"Create blog post","href":"/api-reference/post/create-blog-post"},{"openapi":"get /post/{identifier}","title":"Get post by ID","href":"/api-reference/post/get-post-by-id"},{"openapi":"put /post/{identifier}","title":"Update post","href":"/api-reference/post/update-post"},{"openapi":"delete /post/{identifier}","title":"Delete post","href":"/api-reference/post/delete-post"}]},{"group":"Post Category","pages":[{"openapi":"get /post/category","title":"Get all post categories","href":"/api-reference/post-category/get-all-post-categories"},{"openapi":"post /post/category","title":"Create post category","href":"/api-reference/post-category/create-post-category"},{"openapi":"get /post/category/{identifier}","title":"Get post category by ID","href":"/api-reference/post-category/get-post-category-by-id"},{"openapi":"put /post/category/{identifier}","title":"Update post category","href":"/api-reference/post-category/update-post-category"},{"openapi":"delete /post/category/{identifier}","title":"Delete post category","href":"/api-reference/post-category/delete-post-category"}]},{"group":"Post Tag","pages":[{"openapi":"get /post/tag","title":"Get all post tags","href":"/api-reference/post-tag/get-all-post-tags"},{"openapi":"post /post/tag","title":"Create post tag","href":"/api-reference/post-tag/create-post-tag"},{"openapi":"get /post/tag/{identifier}","title":"Get post tag by ID","href":"/api-reference/post-tag/get-post-tag-by-id"},{"openapi":"put /post/tag/{identifier}","title":"Update post tag","href":"/api-reference/post-tag/update-post-tag"},{"openapi":"delete /post/tag/{identifier}","title":"Delete post tag","href":"/api-reference/post-tag/delete-post-tag"}]},{"group":"Team Member","pages":[{"openapi":"get /team/member/{identifier}","title":"Get a team member by ID","href":"/api-reference/team-member/get-team-member"},{"openapi":"get /team/member","title":"Get all team members","href":"/api-reference/team-member/get-all-team-member"}]}]}]},"basePath":"","title":"Create custom field - SendX Docs","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}