# Mutations / Actions

# Actions

**Mutation**
## createAction — Returns [Action](/documentation/Objects/Action#Action)

<p class="scopes"><span class="scope scope--none">No scope required</span></p>

> <p>This is currently an experimental mutation, please get in contact with us before using it.</p>

| Arguments | Type | Description |
| --- | --- | --- |
| user | [ID!](/documentation/Types/UUID#UUID) | <p> The `ID` scalar type represents a unique identifier. </p> <p> The `ID` type appears in a `JSON` response as a `String`; however, it is not intended to be human-readable. The `ID` is mathematically universally unique across all types and Vendors and can be used as such. </p> |
| affectingType | *String!* | The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text. |
| affectingId | [ID!](/documentation/Types/UUID#UUID) | <p> The `ID` scalar type represents a unique identifier. </p> <p> The `ID` type appears in a `JSON` response as a `String`; however, it is not intended to be human-readable. The `ID` is mathematically universally unique across all types and Vendors and can be used as such. </p> |
| action | [ActionEnum!](/documentation/Enums/Action-Enum#ActionEnum) |  |
| additional | [JSON](/documentation/Types/JSON#JSON) | <p> The `JSON` scalar type represents data that is stored in the JSON format as defined by [ECMA-404](https://www.json.org/json-en.html). </p> > <p>We would highly suggest getting in contact with us before using any field that requests or returns JSON.</p> |
| createdAt | [DateTime](/documentation/Types/Date-Time#DateTime) | The `DateTime` scalar type represents dates and time values as specified by [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601). |

**Example Mutation**

```graphql
mutation CreateAction {
    createAction {
        id,
        affectingType,
        affectingId,
        action,
        timestamp
    }
}
```