In this building block you will see how to list all Conversations.
Use your existing application
You will need to use an existing Application that contains Conversations in order to receive some results here. See the Create Conversation building block for information on how to create an Application and some sample Conversations.
Add the following to
# Gets a list of conversations from an application ID (app ID is in the JWT). curl "https://api.nexmo.com/beta/conversations" \ -H 'Authorization: Bearer '$JWT\ -H 'Content-Type: application/json'
Save this file to your machine and run it:
When you run the code you will retrieve a list of all Conversations.