Logo
22ndjan API Documentation

Send weather to Slack

POST {{slackWebhookUrl}}

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status





Curl
curl -X POST 'slackWebhookUrl' -H 'Content-Type: application/json' -d '{"username":"weatherbot","icon_emoji":":earth_africa:","attachments":[{"fallback":"title","title":"title","text":"body","thumb_url":"imageUrl","color":"#7CD197"}]}'

ENDPOINTS