API #3256
-
How to activate the Postal API? If you access the following https:///api/v1/messages you will receive a message that the page is not available. Is ther something to do? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 10 replies
-
It doesn't work like a web page in a browser, you have to at least supply a API key header. The docs link to the API docs so have a look at https://apiv1.postalserver.io/authenticators/server.html and then have a look at some of the other pages on that site for more information. Depending on your programming language, you may wish to make use of a client library and some examples are linked from the main docs https://docs.postalserver.io/developer/client-libraries |
Beta Was this translation helpful? Give feedback.
-
Hello, i know. I also tried it with postal. URL and bearer Token. But response was the same. Is there something i have to configure in postal Mailserver-Server? I saw an entry in another discussion board about an entry in postal.yaml to enable the api?! |
Beta Was this translation helpful? Give feedback.
-
here is my test with postal. i also tried it out with http and https and in php and there is the same. The bearer token is the api token from the mailserver i have added in postal. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
hello, i do not know what i am doing wrong. Now i have checked it and i use the correct API Token And i also checked the message id in database which was send through this mailserver But i got always the message : "message": " If i change the way to send the id like : api/v1/messages/message/7045335 i got |
Beta Was this translation helpful? Give feedback.
Ah okay I misunderstood how this API works sorry.
You have to POST some JSON to it, for example