Skip to main content
POST
/
v1
/
inbound
/
accounts
Create Account
curl --request POST \
  --url https://enrich.octolane.com/v1/inbound/accounts \
  --header 'Content-Type: <content-type>' \
  --header 'X-API-Key: <x-api-key>' \
  --data '
{
  "domain": "<string>"
}
'
{
  "success": true,
  "data": {
    "company_id": "<string>",
    "domain": "<string>",
    "name": "<string>"
  },
  "message": "<string>"
}
Creates a company record by domain. If the account already exists, it returns the existing one - totally safe to call multiple times without creating duplicates.
You usually don’t need to call this directly. When you create an opportunity with an account_domain, the account is created automatically.

Request

X-API-Key
string
required
Your Octolane API key.
Content-Type
string
required
Must be application/json.

Body parameters

domain
string
required
Company domain (e.g., acme.com). This is how Octolane identifies and deduplicates companies.

Example request

curl -X POST "https://enrich.octolane.com/v1/inbound/accounts" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: your-api-key" \
  -d '{ "domain": "acme.com" }'

Response

success
boolean
Whether the request succeeded.
data
object
message
string
Human-readable status message.
200
{
  "success": true,
  "data": {
    "company_id": "990e8400-e29b-41d4-a716-446655440000",
    "domain": "acme.com",
    "name": "Acme"
  },
  "message": "Account created successfully"
}