Hello,
I'm testing out the SMS API features of PlumDev. I'm encountering an issue where my API requests are resulting in a 401 error:
"error": "The supplied email and developer_pin combination was not valid."
I am using Basic Auth, and the same username and password that allow me to access the PlumDEV account console. Does something need to be enabled for my requests to succeed? Thanks!
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
API credentials not working
Re: API credentials not working
Hi,
We apologize, it looks like the SMS number assigned to your account was previously assigned to a different user and the old credentials had not been reset. This has been corrected and your account credentials should now be properly linked to the number. Please try again and let us know if you are still experiencing any authentication issues.
Regards,
Plum Support
We apologize, it looks like the SMS number assigned to your account was previously assigned to a different user and the old credentials had not been reset. This has been corrected and your account credentials should now be properly linked to the number. Please try again and let us know if you are still experiencing any authentication issues.
Regards,
Plum Support
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com
Re: API credentials not working
Good morning, thanks for looking into this. I just tried again, using the same credentials and the same SMS outbound number. I'm still receiving the same 401 response and error message. Can you take another look?
Re: API credentials not working
Hi,
We tried to reproduce this issue from your account but our message was sent successfully. Could you provide an example of how you are calling the API so we can investigate further?
Regards,
Plum Support
We tried to reproduce this issue from your account but our message was sent successfully. Could you provide an example of how you are calling the API so we can investigate further?
Regards,
Plum Support
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com
Re: API credentials not working
Hello! I am using Postman to send my requests. Here is the CURL export code (I'm hiding the authorization token, email me if you need it):
Thanks again for your help!
Code: Select all
curl -X POST \
https://fuse.plumvoice.com/api/sms/queue.json \
-H 'Authorization: Basic [redacted]' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Postman-Token: 3b9e67d1-04f4-4d2c-af8b-5b251eaf217c' \
-H 'cache-control: no-cache' \
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
-F to=[redacted]\
-F from=6175536862 \
-F 'body=hello world' \
-F result_url=http://ptsv2.com/t/a/post
Re: API credentials not working
I think I figured it out. The error was on my side, I had set some global environmental variables that were messing with my request. I've received my first text message - thanks! Happy holidays
Re: API credentials not working
Hi,
Great! Thanks for updating, glad you were able to figure that out. Please let us know if we can assist with anything else.
Regards,
Plum Support
Great! Thanks for updating, glad you were able to figure that out. Please let us know if we can assist with anything else.
Regards,
Plum Support