For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update ICP

Update an ICP's name, natural-language text, and/or match threshold.

Update ICP

POST /update_icp

Free — no credits are charged. Provide icp_id plus any of the optional fields you want to change.

Headers

Name
Value

Content-Type

application/json

Body

Name
Type
Description

api_key

string

Your API Key.

icp_id

integer

The id of the ICP to update.

match_threshold

number (0–1)

Optional. New match cutoff.

name

string

Optional. New ICP name.

nl_text

string

Optional. New natural-language description.

Response

The saved ICP is returned under data, with your changes applied. See Response Format for the fields every endpoint returns.

Example

{
  "api_key": "your_api_key",
  "icp_id": 26,
  "match_threshold": 0.75
}
{
  "status": "success",
  "data": {
    "id": 26,
    "name": "Sales Director Small Company",
    "summary": "Targeting sales directors in companies with more than 10 employees.",
    "nl_text": "sales director for company having more than 10 headcount",
    "match_threshold": 0.75,
    "is_active": false,
    "updated_at": "2026-07-22T23:35:00Z"
  },
  "credits_used": 0,
  "credits_remaining": 4005.0,
  "success": true
}
{
  "status": "error",
  "error": {
    "code": "not_found",
    "message": "ICP not found"
  },
  "success": false
}

Last updated