diff --git a/lib/messagebird.js b/lib/messagebird.js index 93fd35a..eb0c4d4 100644 --- a/lib/messagebird.js +++ b/lib/messagebird.js @@ -483,7 +483,7 @@ module.exports = function (accessKey, timeout) { httpRequest({ hostname: 'conversations.messagebird.com', method: 'POST', - path: '/v1/conversations/send', + path: '/v1/send', params: params }, callback); }, diff --git a/lib/test.js b/lib/test.js index e86e6bb..0ca75d5 100644 --- a/lib/test.js +++ b/lib/test.js @@ -392,7 +392,7 @@ queue.push(function () { }; nock('https://conversations.messagebird.com') - .post('/v1/conversations/send', params) + .post('/v1/send', params) .reply(200, { message: { id: 'message-id',