{
"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"
}
},
"at": {
"isAtAll": true,
"atMobiles": [
"string"
],
"atUserIds": [
"string"
],
"atContent": {
"type": "string",
"attrs": {
"empty": true,
"property1": {},
"property2": {}
},
"content": [
{}
],
"marks": [
{}
],
"text": "string"
}
},
"link": {
"messageUrl": "string",
"editorMessageUrl": {
"type": "string",
"attrs": {
"empty": true,
"property1": {},
"property2": {}
},
"content": [
{}
],
"marks": [
{}
],
"text": "string"
},
"picUrl": "string",
"title": "string",
"editorTitle": {
"type": "string",
"attrs": {
"empty": true,
"property1": {},
"property2": {}
},
"content": [
{}
],
"marks": [
{}
],
"text": "string"
},
"text": "string",
"editorText": {
"type": "string",
"attrs": {
"empty": true,
"property1": {},
"property2": {}
},
"content": [
{}
],
"marks": [
{}
],
"text": "string"
}
},
"markdown": {
"text": "string",
"title": "string",
"editorText": {
"type": "string",
"attrs": {
"empty": true,
"property1": {},
"property2": {}
},
"content": [
{}
],
"marks": [
{}
],
"text": "string"
}
},
"webhook": "string",
"secret": "string",
"nodeId": "string",
"dataSourceId": "string"
}
}
curl --location --request POST '/lighthouse/app/api/v1//workflow/activeDingTalkRobotAction' \
--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"
}
},
"at": {
"isAtAll": true,
"atMobiles": [
"string"
],
"atUserIds": [
"string"
],
"atContent": {
"type": "string",
"attrs": {
"empty": true,
"property1": {},
"property2": {}
},
"content": [
{}
],
"marks": [
{}
],
"text": "string"
}
},
"link": {
"messageUrl": "string",
"editorMessageUrl": {
"type": "string",
"attrs": {
"empty": true,
"property1": {},
"property2": {}
},
"content": [
{}
],
"marks": [
{}
],
"text": "string"
},
"picUrl": "string",
"title": "string",
"editorTitle": {
"type": "string",
"attrs": {
"empty": true,
"property1": {},
"property2": {}
},
"content": [
{}
],
"marks": [
{}
],
"text": "string"
},
"text": "string",
"editorText": {
"type": "string",
"attrs": {
"empty": true,
"property1": {},
"property2": {}
},
"content": [
{}
],
"marks": [
{}
],
"text": "string"
}
},
"markdown": {
"text": "string",
"title": "string",
"editorText": {
"type": "string",
"attrs": {
"empty": true,
"property1": {},
"property2": {}
},
"content": [
{}
],
"marks": [
{}
],
"text": "string"
}
},
"webhook": "string",
"secret": "string",
"nodeId": "string",
"dataSourceId": "string"
}
}'
{
"success": true,
"msg": "string",
"code": "string",
"content": {}
}