Skip to main content
PATCH
/
contacts
/
{id}
Update contact
curl --request PATCH \
  --url https://productlane.com/api/v2/contacts/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "email": "jsmith@example.com",
  "is_subscribed": true,
  "company_id": "<string>",
  "company_name": "<string>",
  "company_external_id": "<string>"
}
'
{
  "id": "<string>",
  "email": "<string>",
  "name": "<string>",
  "image_url": "<string>",
  "company_id": "<string>",
  "is_subscribed": true,
  "external_ids": {
    "intercom": "<string>",
    "front": "<string>",
    "zendesk": "<string>",
    "hubspot": "<string>",
    "plain": "<string>",
    "productboard": "<string>",
    "slack_channel": "<string>"
  },
  "created_at": "<string>",
  "updated_at": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://productlane.mintlify.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
name
string
Required string length: 1 - 255
email
string<email>
Maximum string length: 254
is_subscribed
boolean

Receives changelog and per-project/issue update emails. Same flag flipped by the email-footer unsubscribe link.

company_id
string

Productlane company id. Mutually exclusive with company_name and company_external_id.

Required string length: 1 - 255
company_name
string

Resolves a company by exact name. Errors if multiple companies share the name.

Required string length: 1 - 255
company_external_id
string

Resolves a company by an entry in its external_ids array.

Required string length: 1 - 255

Response

Successful response

id
string
required
email
string
required
name
string | null
required
image_url
string | null
required
company_id
string | null
required
is_subscribed
boolean
required
external_ids
object
required
created_at
string
required
updated_at
string
required