Search code examples
twiliopostmantwilio-apitwilio-conversations

Adding Conversation Participant using Postman


I'm trying to use Twilio Conversations for a project, and in order to just get a simple understanding of everything I'm trying to tinker it out in Postman first. I'm trying to create a conversation Participant there but I keep getting Error 5204 - Identity not Provided.

I've tried to give an identity as a parameter, or an element in the body, as well as the same for the two needed fields for an SMS participant.


Solution

  • So, the problem is not at Twilio because it works with cURL.

    If you want to do it with Postman, select the "Body" tab and make sure you choose application/x-www-form-urlencoded so the content-type header will automatically be set for you.

    Then add the key/values pairs, but to create a (SMS) participant you only need to add a Twilio number and a participant number.


    Just tried on my computer and it works no problem.

    enter image description here


    Update from @gehrlich: sounds like the keys are case sensitive!