addedInput schema / properties / body
Added value: +{
+ "properties": {
+ "accounts": {
+ "description": "Array of account attribute objects (maximum 100 accounts per request)",
+ "items": {
+ "properties": {
+ "account_stage_id": {
+ "description": "Account stage/pipeline stage ID (BSON::ObjectId format)",
+ "example": "507f1f77bcf86cd799439014",
+ "type": "string"
+ },
+ "domain": {
+ "description": "Company domain (e.g., 'example.com')",
+ "example": "acme.com",
+ "type": "string"
+ },
+ "facebook_url": {
+ "description": "Facebook page URL",
+ "example": "https://facebook.com/acme",
+ "type": "string"
+ },
+ "hubspot_id": {
+ "description": "HubSpot company ID for CRM integration",
+ "example": "12345678",
+ "type": "string"
+ },
+ "linkedin_url": {
+ "description": "LinkedIn company page URL",
+ "example": "https://linkedin.com/company/acme",
+ "type": "string"
+ },
+ "merged_crm_ids": {
+ "description": "Additional CRM IDs for deduplication",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "Account name",
+ "example": "Acme Corporation",
+ "type": "string"
+ },
+ "organization_id": {
+ "description": "Apollo organization ID",
+ "example": "507f1f77bcf86cd799439012",
+ "type": "string"
+ },
+ "owner_id": {
+ "description": "Account owner user ID (BSON::ObjectId format). Defaults to current user if not provided",
+ "example": "507f1f77bcf86cd799439013",
+ "type": "string"
+ },
+ "parent_account_id": {
+ "description": "Parent account ID for account hierarchy (BSON::ObjectId format)",
+ "example": "507f1f77bcf86cd799439016",
+ "type": "string"
+ },
+ "phone": {
+ "description": "Company phone number",
+ "example": "+1-555-0135",
+ "type": "string"
+ },
+ "phone_status_cd": {
+ "description": "Phone validation status",
+ "type": "string"
+ },
+ "raw_address": {
+ "description": "Company address",
+ "example": "123 Main St, San Francisco, CA 94105",
+ "type": "string"
+ },
+ "salesforce_id": {
+ "description": "Salesforce account ID for CRM integration",
+ "example": "001pJNj9pix2idKsfj",
+ "type": "string"
+ },
+ "twitter_url": {
+ "description": "Twitter profile URL",
+ "example": "https://twitter.com/acme",
+ "type": "string"
+ },
+ "typed_custom_fields": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Custom field values as key-value pairs where key is the field_id and value is the field_value",
+ "example": {
+ "507f1f77bcf86cd799439020": "High Value",
+ "507f1f77bcf86cd799439021": "Q4 2025"
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "append_label_names": {
+ "description": "Array of label names to add to ALL accounts in this request",
+ "example": [
+ "Enterprise",
+ "High Priority"
+ ],
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "run_dedupe": {
+ "default": false,
+ "description": "Enable aggressive deduplication by domain, organization_id, and name. When false (default), only matches by CRM IDs. When true, also matches by domain, organization_id, and name. Existing accounts are returned without modification in both modes",
+ "example": true,
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "accounts"
+ ],
+ "type": "object"
+}