Skip to Content
TalonAPI and integrationsPublic M2M APIPublic M2M API — customers

Public M2M API — customers

Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.

Authentication and permissions · Requests, results and recovery

/api/v1/customers

Exported methods: GET, POST

GET

  • Resource scopes: leads:read
  • Query parameters: email, id, phone
  • Response keys observed across outcomes: bookings, calls, conversations, csatRatings, customer, data, lead, metrics, tickets

POST

  • Resource scopes: leads:write
  • Explicit response statuses: 201, 422
  • Explicit error codes: invalid_request
  • Response keys observed across outcomes: email, erpCompany, erpCustomerId, id, name, phone, tags, tier, updatedAt

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
emailstringNoNo—email()
erpCompanystringYesNo—max(200)
erpCustomerIdstringYesNo—max(120)
namestringNoNo—min(1), max(200)
notesstringYesNo—max(5000)
phonestringYesNo—max(40)
tagsarrayYesNo——
tierenumYesNostandard, vip, enterprise, partner—