API connection with Aircall

Options

Hello,

I would like to establish a connection between Xano and aircall but it does not work.

I can get information but I can't send any.

I always get the same error message.




I think that the format is not adapted and I think that it is probably the phone number which must be in E.164 format.


I used the sprinft command but I can't find anything to format the phone number.


Does anyone have a solution to my problem, please?

(Excuse me if there are mistakes, I am French and very bad in English x) )

Tagged:

Comments

  • Michael Udinski
    Michael Udinski Administrator

    ADMIN

    Options

    Hey @Raphael Aircall responded with "Contact attributes are required" and a 400 error. Meaning the contact attributes are not in the API call. It looks like you are putting the parameters in the headers section -- I would double check their API documentation, my hunch is that those details should be parameters. You can see how to build external API requests in our docs - https://docs.xano.com/working-with-data/functions/external-api-request... If they have a curl command in the documentation, you can import this to make things even easier.

  • Raphael
    Raphael Member
    edited December 2022
    Options

    Hello,


    Thank you very much for your quick response.

    I finally found a solution to this.

    Have a nice day :)