API reference
All operations
LEADS

Retrieves the sources that can be set on a lead, optionally filtered by name.

These are the same sources used for companies. Deleted sources are excluded. Results are ordered by name.

GET/api/v2/leads/sources

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

searchParamquerystring

Optional text to match within the source name. Characters other than letters and digits are ignored. When empty, all sources are returned.

Responses

The matching sources.

Standard response envelopeisSuccessmessageerrorsdata

Read the result from data. When isSuccess is false, errors lists what went wrong. Handling errors

dataLeadCompanySourceLookupDto[]

An array. Each item is a LeadCompanySourceLookupDto:

  • sourceIdinteger · int32
  • sourcestring