API reference
All operations
LEADS

Retrieves the lead reasons, optionally filtered by name.

Deleted reasons are excluded. Results are ordered by name.

GET/api/v2/leads/reasons

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

searchParamquerystring

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

Responses

The matching lead reasons.

Standard response envelopeisSuccessmessageerrorsdata

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

dataLeadReasonLookupDto[]

An array. Each item is a LeadReasonLookupDto:

  • reasonIdinteger · int32
  • reasonstring