Executing requests#
To execute a request to the Telegram messenger API, you need to make a GET, POST or DELETE request to the address
{{apiUrl}}/waInstance{{idInstance}}/{{method}}/{{apiTokenInstance}}
The request address is built from:
- The API host
apiUrl/mediaUrl, - The instance number
idInstance, - The method
method, - The access key
apiTokenInstance.
An example request for sending a message using the SendMessage method:
https://4100.api.green-api.com/waInstance4100000000/SendMessage/abcdef12345fghij67890klmno09876pqrstu54321vwxyz