/salesforce/lead/:id

Updates a Salesforce Lead. Send only the fields you want to change, keyed by Salesforce field API name.

The body must include the Lead's Id. The Id in the URL is not used to pick the record, and a body without Id fails.

Requires a personal API token whose user is connected to Salesforce. The Lead is updated with that user's Salesforce credentials.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The record's Salesforce Id.

Body Params

The record's fields, keyed by Salesforce field API name, for example {"LastName": "Lovelace", "Company": "Analytical Engines"}. Salesforce validates the values, including your org's required fields and validation rules. Set OwnerId to myself to make the API caller the record's owner. Use GET /salesforce/syncedFields to see which fields exist in your org.

string

A Salesforce User Id, or myself for the API caller.

string
required

The Salesforce Id of the Lead to update.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json
Psst... like working with APIs? Come join us!