Send Message

Send Message

Send message only

Endpoint : https://medan.velita.id/api/create-message

Parameter
Description
Data Type
Required

appkey

Please create an application then copy the available appkey.

string

yes

authkey

Please create an application then copy the available authkey.

string

yes

to

Receiver Number

string

yes

message

Text

string

yes

import requests

url = "https://console.fastwa.com/api/create-message"

payload={
'appkey': 'd4b6203d-d3a8-40e9-92c0-1fb9276c1329',
'authkey': 'HA57wrkH9dfXWuCUYuqLQqwmkOuIegmyydm1kgMc4fz6fNOhJx',
'to': 'RECEIVER_NUMBER',
'message': 'Example message',

}
files=[

]
headers = {}

response = requests.request("POST", url, headers=headers, data=payload, files=files)

print(response.text)

Response

200

{
    "message_status": "Success",
    "data": {
        "from": "6281376214---",
        "to": "628218530----",
        "status_code": 200
    }
}
```

PreviousPython

Last updated 3 months ago

Last updated