[GH-ISSUE #18] Integration with Wordpress plugin #2

Closed
opened 2026-03-03 16:35:47 +03:00 by kerem · 6 comments
Owner

Originally created by @toppwap on GitHub (Sep 23, 2022).
Original GitHub issue: https://github.com/NdoleStudio/httpsms/issues/18

Originally assigned to: @AchoArnold on GitHub.

Hello,

I am a fellow african and have been searching for an open source gateway like yours. I am happy that this one just works.
See, I am not a developer myself, so i am having a hard time figuring out how to use this api with a Wordpress plugin I use. There are some credentials i need to fill. Can you point me at the right direction.? Please have a look: https://imgur.com/nIP5U2Y

Originally created by @toppwap on GitHub (Sep 23, 2022). Original GitHub issue: https://github.com/NdoleStudio/httpsms/issues/18 Originally assigned to: @AchoArnold on GitHub. Hello, I am a fellow african and have been searching for an open source gateway like yours. I am happy that this one just works. See, I am not a developer myself, so i am having a hard time figuring out how to use this api with a Wordpress plugin I use. There are some credentials i need to fill. Can you point me at the right direction.? Please have a look: https://imgur.com/nIP5U2Y
kerem closed this issue 2026-03-03 16:35:47 +03:00
Author
Owner

@AchoArnold commented on GitHub (Sep 24, 2022):

I've not used WordPress for a very long time but I'm happy to help. Which plugin are you using to connect to the API?

<!-- gh-comment-id:1256887351 --> @AchoArnold commented on GitHub (Sep 24, 2022): I've not used WordPress for a very long time but I'm happy to help. Which plugin are you using to connect to the API?
Author
Owner

@toppwap commented on GitHub (Sep 24, 2022):

It is an internal plugin. The values i need are:

SMS Gateway URL
HTTP Header
Gateway Parameters

<!-- gh-comment-id:1256900219 --> @toppwap commented on GitHub (Sep 24, 2022): It is an internal plugin. The values i need are: SMS Gateway URL HTTP Header Gateway Parameters
Author
Owner

@AchoArnold commented on GitHub (Sep 24, 2022):

Hey @toppwap,

Try the following values,

SMS Gateway URL

https://api.httpsms.com/messages/send

HTTP Header

HeaderKey: x-api-key
HeaderValue: Get your API key from https://httpsms.com/settings/

Gateway Parameters

{
  "content": "This is a sample text message",
  "from": "+18005550199",
  "to": "+18005550100"
}
<!-- gh-comment-id:1256919071 --> @AchoArnold commented on GitHub (Sep 24, 2022): Hey @toppwap, Try the following values, SMS Gateway URL ``` https://api.httpsms.com/messages/send ``` HTTP Header ``` HeaderKey: x-api-key HeaderValue: Get your API key from https://httpsms.com/settings/ ``` Gateway Parameters ``` { "content": "This is a sample text message", "from": "+18005550199", "to": "+18005550100" } ```
Author
Owner

@toppwap commented on GitHub (Sep 26, 2022):

I only get this responses:

Via get: "Cannot GET messages/send"
Via post: "Method not allowed"

<!-- gh-comment-id:1257675406 --> @toppwap commented on GitHub (Sep 26, 2022): I only get this responses: Via get: "Cannot GET messages/send" Via post: "Method not allowed"
Author
Owner

@AchoArnold commented on GitHub (Sep 26, 2022):

Hey @toppwap

It should be an http POST request. Also, the Content-Type should be application/json.

You could try it out using the swagger playground here https://api.httpsms.com/index.html#/Messages

image

<!-- gh-comment-id:1257891444 --> @AchoArnold commented on GitHub (Sep 26, 2022): Hey @toppwap It should be an http `POST` request. Also, the Content-Type should be `application/json`. You could try it out using the swagger playground here https://api.httpsms.com/index.html#/Messages ![image](https://user-images.githubusercontent.com/4196457/192265900-e3162e10-9ae5-4bca-8a09-2136045d6e81.png)
Author
Owner

@AchoArnold commented on GitHub (Oct 1, 2022):

Any success @toppwap?

Feel free to open the issue again if you need help

<!-- gh-comment-id:1264350083 --> @AchoArnold commented on GitHub (Oct 1, 2022): Any success @toppwap? Feel free to open the issue again if you need help
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/httpsms#2
No description provided.