Skip to main content
POST
/
orgs
/
{org_id}
/
contacts
/
bulk
/
dry
Dry Run Create Multiple Contacts
curl --request POST \
  --url https://api.dev.useinvent.com/orgs/{org_id}/contacts/bulk/dry \
  --header 'Content-Type: application/json' \
  --data '
{
  "channels": [
    {
      "type": "email",
      "email": "<string>",
      "user_id": "<string>",
      "name": "<string>",
      "contact_id": "<string>"
    }
  ],
  "segment_id": "<string>"
}
'
{
  "created": [
    {
      "type": "email",
      "email": "<string>",
      "user_id": "<string>",
      "name": "<string>",
      "contact_id": "<string>"
    }
  ],
  "updated": [
    {
      "type": "email",
      "email": "<string>",
      "user_id": "<string>",
      "name": "<string>",
      "contact_id": "<string>"
    }
  ],
  "invalid": [
    {
      "type": "email",
      "email": "<string>",
      "user_id": "<string>",
      "name": "<string>",
      "contact_id": "<string>"
    }
  ]
}

Path Parameters

org_id
string
required

The ID of the org

Body

Schema for creating multiple contacts

channels
object[]
required
Maximum array length: 10000

Schema for creating a contact channel option

segment_id
string

The ID of the segment to add the contacts to

Response

200 - application/json

Schema for the created and updated contacts

created
object[]
required

Schema for creating a contact channel option

updated
object[]
required

Schema for creating a contact channel option

invalid
object[]
required

Schema for creating a contact channel option