Clay Icon

Discrepancies between Kaspr API and Linkedin phone numbers - Need assistance with version 2.0

·
·

Hello team, I've been using Kaspr API with Clay for the past few month but lately the phone numbers found through the API are different from the one Kaspr shows me on Linkedin. I noticed they made a version 2.0 of their API maybe that's why it doesn't work anymore ? Can you you help me with this ? https://kaspr.stoplight.io/docs/kaspr-api/branches/main/51f7f5ce88a29-get-linked-in-profile

  • Avatar of Clay Team
    Clay Team
    APP
    ·
    ·

    Hey, thanks for reaching out, sorry for the delay! Taking a look

  • Avatar of Clay Team
    Clay Team
    APP
    ·
    ·

    Could you DM me your API key when available or add it to the column?

  • Avatar of Clay Team
    Clay Team
    APP
    ·
    ·

    Scratch that, was able to find your older columns and use that to ensure that version 2 of the api was being used. I also saved the configuration as a template for you

    118e3029-2bd9-4d45-b866-d74901dcb4cf.png(65 kB)
  • Avatar of Elliot T.
    Elliot T.
    ·
    ·

    Thanks Arturo, it works ! However it only works on this table "Phone Number Finder", when I use your template on another table it doesn"t work. Do you know why ?

  • Avatar of Clay Team
    Clay Team
    APP
    ·
    ·

    Hey Elliot, that's odd. Could you share the link to your table where it's not working?

  • Avatar of Clay Team
    Clay Team
    APP
    ·
    ·

    I think it's working but Kaspr returns an empty response if it doesn't find any information for that person. If you check your table where it was working, it's also true for some of those people there.Those that do have a value will show results though.

    3e3969f5-0e06-4e05-a3a2-bcde0c15acf3.png(22 kB)
  • Avatar of Clay Team
    Clay Team
    APP
    ·
    ·

    Also, I matched the behavior of your previous HTTP setup, where you asked Kaspr to only return values that include phone numbers. This is a JSON key in the body, "requiredData"

  • Avatar of Elliot T.
    Elliot T.
    ·
    ·

    Sorry Arturo, I don't know why but I haven't been notified of your reply. Thank you very much for all these explanations. Can you check this table : https://app.clay.com/workspaces/113258/tables/t_ZCpdPDqn3NwO/views/gv_tP0qpWds0Lu7

  • Avatar of Elliot T.
    Elliot T.
    ·
    ·

    My HTTP API for Kaspr in on the right

  • Avatar of Elliot T.
    Elliot T.
    ·
    ·

    If you check the third contact "Stephane Carré", the phone number column is empty but with Kaspr's chrome extension I find a number... that's odd. Have I done something wrong with the API input ?

  • Avatar of Clay Team
    Clay Team
    APP
    ·
    ·

    Hey hey

  • Avatar of Clay Team
    Clay Team
    APP
    ·
    ·

    I just changed the input to "id" to the linkedin slug instead of URL and it looks to be working now!

  • Avatar of Clay Team
    Clay Team
    APP
    ·
    ·

    There's a chance the URLs they use are a different form than what we have, linkedin has a few different variations

  • Avatar of Elliot T.
    Elliot T.
    ·
    ·

    YES ! It works 🙂

  • Avatar of Elliot T.
    Elliot T.
    ·
    ·

    Thanks

  • Avatar of Clay Team
    Clay Team
    APP
    ·
    ·

    no problem:)

  • Avatar of Elliot T.
    Elliot T.
    ·
    ·

    I would have never thought that we had to use the linkedin slug 😅

  • Avatar of Elliot T.
    Elliot T.
    ·
    ·

    Well, that's a great news, thanks again Matthew