# Create a daily recap question

Use the `createDailyRecapEntry` mutation to add a question with its corresponding answer for a specific date.

After adding the daily recap entry, use the [`dailyRecap`](https://docs.suggestic.com/graphql/query/queries/tracking/daily-recap/get-daily-recap) query to list it.

### Required Arguments

| **Argument Name** | **Type** |                                                                                                        **Description**                                                                                                       |
| :---------------: | :------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|    `questionId`   |  String  | <p>Unique question ID. Use the <a href="https://docs.suggestic.com/graphql/query/queries/tracking/daily-recap/get-daily-recap-questions"><code>dailyRecapQuestions</code> </a>query to get the Id of the questions. <br></p> |
|     `answerId`    |  String  |                    Unique answer ID. Use the [`dailyRecapQuestions` ](https://docs.suggestic.com/graphql/query/queries/tracking/daily-recap/get-daily-recap-questions)query to get the Id of the answers.                    |
|       `date`      |   Date   |                                                                                      Date when the question and the answer are created.                                                                                      |

### Available Fields

The following fields will be displayed in the response:

<table data-header-hidden><thead><tr><th width="219.33333333333331" align="center">Field</th><th align="center">Type</th><th align="center">Description</th></tr></thead><tbody><tr><td align="center"><strong>Field</strong></td><td align="center"><strong>Type</strong></td><td align="center"><strong>Description</strong></td></tr><tr><td align="center"><code>success</code></td><td align="center">Boolean</td><td align="center"><strong>True</strong> if the daily recap entry has been added successfully. Otherwise, <strong>False</strong><br></td></tr><tr><td align="center"><code>Message</code></td><td align="center">String</td><td align="center">Description of the result</td></tr></tbody></table>

## Example

{% tabs %}
{% tab title="Request" %}

```graphql
{
mutation {
  createDailyRecapEntry(
    answerId: "RGFpbHlRdWVzdGlvbjo3Y2E4YzAxZS1kZDRjLTRlODktYjA3NS04ZGZmNzhlZDlhZTE="
    questionId: "QW5zd2VyOmZjYTNhYjEwLWU4NDAtNGExZS05NzkyLTc4OTE0NzhmMTE1Zg=="
    date: "2022-02-23"
  ) {
    success
    message
  }
}


```

{% endtab %}

{% tab title="Response" %}

```graphql
{
  "data": {
    "createDailyRecapEntry": {
      "success": true,
      "message": "Daily recap entry was successfully created"
    }
  }
}
```

{% endtab %}
{% endtabs %}
