Skip to Content

Update Prospect

PUT
/api/v1/deals/prospects/{prospect_id}

Required scope: deals:write

Authorization

headerAuthorizationBearer <luso8_sk_live_<40 characters>>

A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.

Path Parameters

prospect_id*Prospect Id

Request Body

application/json
  1. body
contact?|null
company_name?string|null
domain?string|null
industry?string|null
employees?string|null
revenue?string|null
headquarters?string|null
country?string|null
website?string|null
phone?string|null
status?string|null
owner_id?string|null
owner_name?string|null
stakeholders?array<unknown>|null
primary_contact_id?string|null
company_id?string|null
next_step?string|null
next_step_date?|null
tags?array<unknown>|null
notes?string|null
custom_fields?|null
deal_count?integer|null
total_deal_value?number||null
last_interaction?|null

Response Body

Successful Response

application/json
  1. response
company_name?string|null
domain?string|null
industry?string|null
employees?string|null
revenue?string|null
headquarters?string|null
country?string|null
website?string|null
phone?string|null
status?string|null
owner_id?string|null
owner_name?string|null
stakeholders?array<unknown>|null
primary_contact_id?string|null
company_id?string|null
next_step?string|null
next_step_date?|null
tags?array<unknown>|null
notes?string|null
custom_fields?|null
id*Id
organization_id*Organization Id
deal_count?integer|null
total_deal_value?|null
last_interaction?|null
created_at*Created At
Formatdate-time
updated_at?|null
contact_name?string|null
contact_email?string|null
contact_job_title?string|null
list_names?array<string>|null
list_ids?array<string>|null
Example Request
curl -X PUT 'https://api.luso8.rexplore.ai/api/v1/deals/prospects/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "company_name": "string",  "domain": "string",  "industry": "string",  "employees": "string",  "revenue": "string",  "headquarters": "string",  "country": "string",  "website": "string",  "phone": "string",  "status": "string",  "owner_id": "string",  "owner_name": "string",  "stakeholders": [    null  ],  "primary_contact_id": "string",  "company_id": "string",  "next_step": "string",  "next_step_date": "2019-08-24T14:15:22Z",  "tags": [    null  ],  "notes": "string",  "custom_fields": {},  "id": "string",  "organization_id": "string",  "deal_count": 0,  "total_deal_value": "string",  "last_interaction": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "contact_name": "string",  "contact_email": "string",  "contact_job_title": "string",  "list_names": [    "string"  ],  "list_ids": [    "string"  ]}