Skip to main content
POST
/
integrations
/
v1
/
accounts
Crear cuenta (Integraciones externas)
curl --request POST \
  --url https://lumos-am-prd.azure-api.net/api/external/integrations/v1/accounts \
  --header 'Content-Type: application/json' \
  --data '
{
  "tenantId": "<string>",
  "name": "<string>",
  "ownerId": "<string>",
  "status": "active",
  "country": "<string>",
  "industry": "<string>",
  "phone": "<string>",
  "email": "<string>",
  "website": "<string>",
  "description": "<string>",
  "type": "<string>",
  "address": "<string>",
  "city": "<string>",
  "state": "<string>",
  "postalCode": "<string>",
  "employees": "<string>",
  "annualRevenue": 123
}
'
{
  "success": true,
  "data": {
    "id": "<string>",
    "name": "<string>",
    "industry": "<string>",
    "status": "active",
    "employees": "<string>",
    "website": "<string>",
    "phone": "<string>",
    "email": "<string>",
    "address": "<string>",
    "city": "<string>",
    "state": "<string>",
    "country": "<string>",
    "postalCode": "<string>",
    "annualRevenue": 123,
    "ownerId": "<string>",
    "owner_name": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
}
Requiere header x-api-key y tenantId en el body.

Body

application/json
tenantId
string
required
Minimum string length: 1
name
string
required
Minimum string length: 1
ownerId
string
status
enum<string>
Available options:
active,
inactive,
prospect
country
string
industry
string
phone
string
email
string
website
string
description
string
type
string
Minimum string length: 1
address
string
city
string
state
string
postalCode
string
employees
annualRevenue

Response

Default Response

success
boolean
required
data
object
required