Skip to main content
Answered

Authentication methods in Custom Action API call

  • December 9, 2022
  • 3 replies
  • 124 views

How can I send request body in x-www-form-urlencoded format. It is mentioned that I need to pass request body in json format but My Authentication end point only supports requests in x-www-form-urlencoded format. Can someone please let me know the how can I make authentication with x-www-form-urlencoded format ?

Best answer by Jacob Cox

Hey there @Uffe !

Currently our REST API only supports application/json for the content-type. I don’t know of any current plans to change that at this time, but I’ll flag this with the team so they are aware that there’s interest in that.

View original
Did this topic help you find an answer to your question?

3 replies

Daniel M15
Employee
  • Employee
  • 240 replies
  • December 12, 2022

Hey @kushal​! Daniel from Customer Support Engineering here 🔧 

 

Can you please try adding application/x-www-form-urlencoded as the value for the Content-type header? If this fails, you should be able to pass the request body through a JSON object as a workaround. Please note that at the moment, we only officially support JSON, but we hope to integrate support for encoded tokens in the future.


  • New Participant
  • 2 replies
  • December 27, 2023

@Daniel M15 any news on application/x-www-form-urlencoded support?

 


Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • 441 replies
  • Answer
  • January 14, 2024

Hey there @Uffe !

Currently our REST API only supports application/json for the content-type. I don’t know of any current plans to change that at this time, but I’ll flag this with the team so they are aware that there’s interest in that.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings