> For the complete documentation index, see [llms.txt](https://mastodon.gitbook.io/mastodon/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mastodon.gitbook.io/mastodon/entities/scheduledstatus.md).

# ScheduledStatus

## Example

```javascript
{
  "id": "3221",
  "scheduled_at": "2019-12-05T12:33:01.000Z",
  "params": {
    "text": "test content",
    "media_ids": null,
    "sensitive": null,
    "spoiler_text": null,
    "visibility": null,
    "scheduled_at": null,
    "poll": null,
    "idempotency": null,
    "in_reply_to_id": null,
    "application_id": 596551
  },
  "media_attachments": []
}
```

## Required attributes

### id

**Description:** ID of the scheduled status in the database.\
**Type:** String (cast from an integer but not guaranteed to be a number)\
**Version history:** Added in 2.7.0

### scheduled\_at

**Description:** ID of the status in the database.\
**Type:** String (ISO 8601 Datetime)\
**Version history:** Added in 2.7.0

### params

#### params\[text]

#### params\[visibility]

#### params\[application\_id]

### media\_attachments

## Optional attributes

### params

#### in\_reply\_to\_id

#### media\_ids

#### sensitive

#### spoiler\_text

#### scheduled\_at

## ScheduledStatus <a href="#scheduledstatus" id="scheduledstatus"></a>

| Attribute           | Type                                                                  | Nullable | Added in |
| ------------------- | --------------------------------------------------------------------- | -------- | -------- |
| `id`                | String                                                                | No       | 2.7.0    |
| `scheduled_at`      | String (Datetime)                                                     | No       | 2.7.0    |
| `params`            | [StatusParams](broken://pages/-LmbADTdl-iJWtyuH0vN#statusparams)      | No       | 2.7.0    |
| `media_attachments` | Array of [Attachment](broken://pages/-LmbADTdl-iJWtyuH0vN#attachment) | No       | 2.7.0    |

### StatusParams <a href="#statusparams" id="statusparams"></a>

| Attribute        | Type                                                            | Nullable | Added in |
| ---------------- | --------------------------------------------------------------- | -------- | -------- |
| `text`           | String                                                          | No       | 2.7.0    |
| `in_reply_to_id` | String                                                          |          | 2.7.0    |
| `media_ids`      | Array of String                                                 |          | 2.7.0    |
| `sensitive`      | Boolean                                                         |          | 2.7.0    |
| `spoiler_text`   | String                                                          |          | 2.7.0    |
| `visibility`     | [String (Enum)](broken://pages/-LmbADTdl-iJWtyuH0vN#visibility) | No       | 2.7.0    |
| `scheduled_at`   | String (Datetime)                                               |          | 2.7.0    |
| `application_id` | String                                                          | No       | 2.7.0    |

## See also

{% content-ref url="/pages/-LqIf58vc\_nSS1sKAbiG" %}
[scheduled\_statuses](/mastodon/methods/statuses/scheduled_statuses.md)
{% endcontent-ref %}

{% embed url="<https://github.com/tootsuite/mastodon/blob/master/app/serializers/rest/scheduled_status_serializer.rb>" %}
app/serializers/rest/scheduled\_status\_serializer.rb
{% endembed %}
