...
How to create push message
Example request:
NB! Municipality number is only 4 characters. Characters beyond that number will then make you not be able to create a message.
Code Block |
---|
curl -X POST "http://beta-api-ambita.com/kode/v1/distributormessages/distributor/messages" -H "accept: */*" -H "Authorization: Bearer <access token>" -H "Content-Type: application/json" -d "{ \"message\": \"Meldingen din her\", \"municipalityNumber\": \"string\", \"municipalityName\": \"string\", \"type\": \"string\"}" |
...