function afterSaveCard(companyId, formId, cardId, cardVersion, cardData) { var consumer = meuoauth; var postJson = '{ "idOwner" : 8, "participantsIds" : [8,9], "distinct" : true, "conversationTitle": "testeee", "message": "wololo" }'; consumer.post("/public/messaging/createConversation/v2", postJson); var postJson = '{ "text" : "Hello!"}'; consumer.post("/public/messaging/sendMessage/5ce78857-d7cb-4ff8-a88b-3f1f74d03c9b", postJson); }