{
"config": {
"msgtype": "string",
"text": {
"content": "string",
"editorContent": {
"type": "string",
"attrs": {
"empty": true,
"property1": {},
"property2": {}
},
"content": [
{}
],
"marks": [
{}
],
"text": "string"
},
"mentioned_list": [
"string"
],
"mentioned_mobile_list": [
"string"
],
"mentionedContent": {
"type": "string",
"attrs": {
"empty": true,
"property1": {},
"property2": {}
},
"content": [
{}
],
"marks": [
{}
],
"text": "string"
}
},
"image": {
"base64": "string",
"md5": "string"
},
"news": {
"articles": [
{
"title": "string",
"description": "string",
"url": "string",
"picurl": "string"
}
]
},
"templateCard": {
"card_type": "string",
"source": {
"icon_url": "string",
"desc": "string",
"desc_color": 0
},
"main_title": {
"title": "string",
"desc": "string"
},
"image_text_area": {
"type": 0,
"title": "string",
"desc": "string",
"image_url": "string",
"url": "string"
},
"card_image": {
"aspect_ratio": 0,
"url": "string"
},
"emphasis_content": {
"title": "string",
"desc": "string"
},
"quote_area": {
"type": 0,
"url": "string",
"appid": "string",
"pagepath": "string",
"title": "string",
"quote_text": "string"
},
"vertical_content_list": [
{
"title": "string",
"desc": "string"
}
],
"sub_title_text": "string",
"horizontal_content_list": [
{
"keyname": "string",
"value": "string",
"type": 0,
"url": "string",
"media_id": "string"
}
],
"jump_list": [
{
"title": "string",
"appid": "string",
"type": 0,
"url": "string",
"pagepath": "string"
}
],
"card_action": [
{
"appid": "string",
"type": 0,
"url": "string",
"pagepath": "string"
}
]
},
"webhook": "string",
"nodeId": "string",
"dataSourceId": "string"
}
}
curl --location --request POST '/lighthouse/app/api/v1//workflow/activeWxRobotAction' \
--header 'Lang: zh-CN' \
--header 'B-App-Id: {{B-App-Id}}' \
--header 'B-App-User-Id: {{B-App-User-Id}}' \
--header 'B-Origin-Domain: {{B-Origin-Domain}}' \
--header 'Cookie: {{Cookie}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"config": {
"msgtype": "string",
"text": {
"content": "string",
"editorContent": {
"type": "string",
"attrs": {
"empty": true,
"property1": {},
"property2": {}
},
"content": [
{}
],
"marks": [
{}
],
"text": "string"
},
"mentioned_list": [
"string"
],
"mentioned_mobile_list": [
"string"
],
"mentionedContent": {
"type": "string",
"attrs": {
"empty": true,
"property1": {},
"property2": {}
},
"content": [
{}
],
"marks": [
{}
],
"text": "string"
}
},
"image": {
"base64": "string",
"md5": "string"
},
"news": {
"articles": [
{
"title": "string",
"description": "string",
"url": "string",
"picurl": "string"
}
]
},
"templateCard": {
"card_type": "string",
"source": {
"icon_url": "string",
"desc": "string",
"desc_color": 0
},
"main_title": {
"title": "string",
"desc": "string"
},
"image_text_area": {
"type": 0,
"title": "string",
"desc": "string",
"image_url": "string",
"url": "string"
},
"card_image": {
"aspect_ratio": 0,
"url": "string"
},
"emphasis_content": {
"title": "string",
"desc": "string"
},
"quote_area": {
"type": 0,
"url": "string",
"appid": "string",
"pagepath": "string",
"title": "string",
"quote_text": "string"
},
"vertical_content_list": [
{
"title": "string",
"desc": "string"
}
],
"sub_title_text": "string",
"horizontal_content_list": [
{
"keyname": "string",
"value": "string",
"type": 0,
"url": "string",
"media_id": "string"
}
],
"jump_list": [
{
"title": "string",
"appid": "string",
"type": 0,
"url": "string",
"pagepath": "string"
}
],
"card_action": [
{
"appid": "string",
"type": 0,
"url": "string",
"pagepath": "string"
}
]
},
"webhook": "string",
"nodeId": "string",
"dataSourceId": "string"
}
}'
{
"success": true,
"msg": "string",
"code": "string",
"content": {}
}