---
updatedAt: 2025-05-19T20:08:08.000Z
agentTools:
  projectIndex: https://apidocs.goodays.co/llms.txt
---

# /responses/{id}/message

Sends a private message from a pro user to the end customer, after the participation has been processed. Only possible when the participation `state` is `closed` and `message` is listed in its `actions` attribute: otherwise the API returns a `400` error. See [Create your interface](doc:create-your-interface).

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Goodays API",
    "description": "",
    "version": "v2"
  },
  "paths": {
    "/responses/{id}/message": {
      "put": {
        "operationId": "responses_message",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseActionMessage_read"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "ID of the participation (its `id` attribute).",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "user": {
                    "description": "ID of the pro user who performs the action, from [/users](ref:users_list). Optional: when it is missing, the action is attributed to the pro user of your API token. The pro user must have access to the point of sale of the participation.",
                    "type": "string"
                  },
                  "content": {
                    "description": "Text of the private message sent to the end customer.",
                    "type": "string"
                  }
                },
                "required": [
                  "content"
                ]
              }
            }
          }
        },
        "tags": [
          "response"
        ],
        "description": "Sends a private message from a pro user to the end customer, after the participation has been processed. Only possible when the participation `state` is `closed` and `message` is listed in its `actions` attribute: otherwise the API returns a `400` error. See [Create your interface](doc:create-your-interface)."
      }
    }
  },
  "x-explorer-enabled": false,
  "servers": [
    {
      "url": "https://api.goodays.co/v2"
    }
  ],
  "components": {
    "schemas": {
      "ResponseActionMessage_read": {
        "type": "object",
        "properties": {
          "user": {
            "type": "string"
          },
          "content": {
            "type": "string"
          }
        },
        "additionalProperties": {
          "type": "string"
        }
      }
    }
  },
  "x-readme": {
    "proxy-enabled": true
  }
}
```