Try Functions in 60 seconds
Connect an app (as a user)
1
2
Copy the function call cURL
1
2
3
Call the function from a tool like Postman
1
2
3
{
"error": "Could not call the function due to invalid input. Please see `error_details` for further information.",
"error_details": {
"channel": "This parameter is required and must not be null or empty",
"text": "This parameter is required and must not be null or empty"
}
}4
{
"network_code": "200",
"output": {
"ok": true,
"channel": "C6F3LQ03A",
"ts": "1731965527.026429",
"message": {
"user": "U02L42QCVGV",
"type": "message",
"ts": "1731965527.026429",
"bot_id": "B0447TKCF1N",
"app_id": "A6FQL4KQC",
"text": "Hello from Postman!",
"team": "T6F74R6TB",
"bot_profile": {
"id": "B0447TKCF1N",
"app_id": "A6FQL4KQC",
"name": "Integry",
"icons": {
"image_36": "https://slack-files2.s3-us-west-2.amazonaws.com/avatars/2017-08-09/225182834294_8020ddc74d7822b48ea1_36.png",
"image_48": "https://slack-files2.s3-us-west-2.amazonaws.com/avatars/2017-08-09/225182834294_8020ddc74d7822b48ea1_48.png",
"image_72": "https://slack-files2.s3-us-west-2.amazonaws.com/avatars/2017-08-09/225182834294_8020ddc74d7822b48ea1_72.png"
},
"deleted": false,
"updated": 1663866569,
"team_id": "T6F74R6TB"
},
"blocks": [
{
"type": "rich_text",
"block_id": "dxA",
"elements": [
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "Hello from Postman!"
}
]
}
]
}
]
}
}
}Next steps
Last updated
Was this helpful?