# 新增好友通知

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /XXXX/service/result:
    post:
      summary: 新增好友通知
      deprecated: false
      description: |+
        :::highlight blue
        **新增好友通知**
        命令字Type : robot.contact.modify
        :::


        ### 通知示例：
        ```json
        {
            "type":"robot.contact.modify",
            "flag":2057,
            "robotKey":"0cb507fa35f543c59f9f0ae376217316",
            "bizType":5,
            "robotType":2,
            "os":"win",
            "isSendFromMac":1,
            "code":"0",
            "msg":"OK",
            "sendTime":"2023-04-07 18:19:53",
            "sendTimeTs":1680862793,
            "dts":1680862793901,
            "userId":7881300926912210,
            "markAsCustomerTime":"2023-04-07 11:49:37",
            "avatorUrl":"http://wx.qlogo.cn/mmhead/jJSbu4Te5ib8JiawHnicB8JT0iaKnLZrWZjKwLhu0qHTF4riaRjbsLSbApw/0",
            "corpanyId":1970325134026788,
            "corpName":"微信",
            "corpShortName":"微信",
            "createTime":"1680839374",
            "departmentId":"",
            "departmentName":"",
            "position":"",
            "account":"",
            "job":"",
            "mobile":"",
            "name":"Wik@星吾",
            "realName":"",
            "rtxName":"",
            "realRemarks":"",
            "remarks":"",
            "gender":1,
            "wechatImgUrl":"http://wx.qlogo.cn/mmhead/jJSbu4Te5ib8JiawHnicB8JT0iaKnLZrWZjKwLhu0qHTF4riaRjbsLSbApw/0",
            "phone":"",
            "messageId":"type:add:202304071819537388"
        }
        ```
        ### 参数说明：

      tags:
        - 企微机器人/bot-回调通知/联系人通知
      parameters:
        - name: acttype
          in: query
          description: ''
          required: false
          example: contactmodifyadd
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apifox-orders: []
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: 企微机器人/bot-回调通知/联系人通知
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/6148098/apis/api-279498817-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://www.example.com
    description: 测试环境
security: []

```
