Skip to main content
POST
/
api
/
v1
/
icp
/
create
Create ICP
curl --request POST \
  --url https://api.openfunnel.dev/api/v1/icp/create \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <x-api-key>' \
  --header 'X-User-ID: <x-user-id>' \
  --data '
{
  "name": "<string>",
  "target_roles": [
    "<string>"
  ],
  "employee_ranges": [
    "<string>"
  ],
  "location": [
    "<string>"
  ],
  "min_funding": "<string>",
  "max_funding": "<string>",
  "employee_count_funding_config": "AND",
  "sub_locations": [
    "<string>"
  ],
  "people_locations": [
    "<string>"
  ],
  "people_sub_locations": [
    "<string>"
  ]
}
'
{
  "icp": {
    "id": 123,
    "name": "<string>",
    "target_roles": [
      "<string>"
    ],
    "min_employee": 123,
    "max_employee": 123,
    "min_funding": "<string>",
    "max_funding": "<string>",
    "location": [
      "<string>"
    ],
    "sub_locations": [
      "<string>"
    ],
    "people_locations": [
      "<string>"
    ],
    "people_sub_locations": [
      "<string>"
    ],
    "employee_count_funding_config": "<string>"
  }
}

Headers

X-API-Key
string
required
X-User-ID
string
required

Body

application/json
name
string
required
target_roles
string[]
required
employee_ranges
string[]
required
location
string[]
required
min_funding
string | null
max_funding
string | null
employee_count_funding_config
enum<string> | null
Available options:
AND,
OR
sub_locations
string[] | null
people_locations
string[] | null
people_sub_locations
string[] | null

Response

Successful Response

icp
ICPItem · object
required