Fetch Customer Phone Number from Zendesk Talk API | Community
Skip to main content

Fetch Customer Phone Number from Zendesk Talk API

  • January 18, 2024
  • 3 replies
  • 0 views

Derek13

We fetch all Zendesk Talk records via the API to move into our visualization software.  There doesn't appear to be the customers phone number available via the API.  Am I missing something or is it not recorded as part of the call record?

3 replies

Tipene
  • January 22, 2024

Hey Derek,

What specific endpoint are you using to fetch the records? I'm not totally sure off the top of my head what is returned for the different Talk endpoints, but I know the phone number is available when making requests to the Tickets API.


Derek13
  • Author
  • January 23, 2024

We are using: `ourcompany.zendesk.com/api/v2/channels/voice/stats/incremental/calls.json`

We could probably merge in on the auto created ticket from the call but I was hoping that the phone number would be on the actual zendesk talk record.


Tipene
  • January 26, 2024

Thanks for the extra info, Derek.

You're right, it looks like customer phone numbers aren't currently returned from calls made to the incremental exports API. I'll follow up with the team that owns this endpoint to find out if there is a specific reason why, but in the meantime I'd say your best and quickest option would be to grab the data via the tickets API.