# OpenCloudApiV1

Roblox Engine API class from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- Inherits from, nearest first: [Instance](https://rapi.sleaze.dev/classes/Instance.md), [Object](https://rapi.sleaze.dev/classes/Object.md)
- Tags: Deprecated, Not creatable, Not replicated
- Memory category: Instances
- HTML page: https://rapi.sleaze.dev/classes/OpenCloudApiV1/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/OpenCloudApiV1

**Deprecated:** This class is deprecated and should not be used for new work. Use [`HttpService`](https://rapi.sleaze.dev/classes/HttpService.md) instead and see the [In-experience HTTP requests guide](https://create.roblox.com/docs/cloud-services/http-service).

Deprecated Open Cloud API surface for in-experience cloud operations such as user notifications.

## Methods

### CreateModel

```luau
OpenCloudApiV1:CreateModel(name: string): OpenCloudModel
```

- Tags: Deprecated, Custom Lua state, Capabilities: Network

**Deprecated:** This method is deprecated. Do not use it for new work.

Creates and returns an [`OpenCloudModel`](https://rapi.sleaze.dev/index/types/OpenCloudModel.md) container for a registered model type name.

Parameters:

- `name`: The registered model type name (for example, `"UserNotification"`).

Returns: An [`OpenCloudModel`](https://rapi.sleaze.dev/index/types/OpenCloudModel.md) container wrapping a typed model instance.

### CreateUserNotificationAsync

```luau
OpenCloudApiV1:CreateUserNotificationAsync(user: string, userNotification: OpenCloudModel): OpenCloudModel
```

- Tags: Deprecated, Yields, Capabilities: Network

**Deprecated:** This method is deprecated. Do not use it for new work.

Deprecated method that attempted to send a user notification via Open Cloud; always errors.

Parameters:

- `user`: The target user identifier.
- `userNotification`: An [`OpenCloudModel`](https://rapi.sleaze.dev/index/types/OpenCloudModel.md) container (from [`OpenCloudApiV1:CreateModel()`](https://rapi.sleaze.dev/classes/OpenCloudApiV1.md)) populated with notification payload fields.

Returns: Unused; the call always errors.

## Inherited members

- From [Instance](https://rapi.sleaze.dev/classes/Instance.md): `Archivable`, `archivable`, `Attributes`, `AttributesReplicate`, `AttributesSerialize`, `HistoryId`, `Name`, `Parent`, `PredictionMode`, `PropertyStatusStudio`, `RobloxLocked`, `SerializedOverrides`, `SourceAssetId`, `Tags`, `UniqueId`, `numExpectedDirectChildren`, `DataCost`, `Capabilities`, `DefinesCapabilities`, `IsInSandbox`, `Sandboxed`, `AddTag`, `ClearAllChildren`, `Clone`, `Destroy`, `FindFirstAncestor`, `FindFirstAncestorOfClass`, `FindFirstAncestorWhichIsA`, `FindFirstChild`, `FindFirstChildOfClass`, `FindFirstChildWhichIsA`, `FindFirstDescendant`, `GetActor`, `GetAttribute`, `GetAttributeChangedSignal`, `GetAttributes`, `GetChildren`, `GetDebugId`, `GetDescendants`, `GetFullName`, `GetStyled`, `GetStyledPropertyChangedSignal`, `GetTags`, `HasTag`, `IsAncestorOf`, `IsDescendantOf`, `IsPropertyModified`, `QueryDescendants`, `RemoveTag`, `ResetPropertyToDefault`, `SetAttribute`, `WaitForChild`, `Remove`, `children`, `clone`, `destroy`, `findFirstChild`, `getChildren`, `isDescendantOf`, `remove`, `AncestryChanged`, `AttributeChanged`, `ChildAdded`, `ChildRemoved`, `DescendantAdded`, `DescendantRemoving`, `Destroying`, `StyledPropertiesChanged`, `childAdded`
- From [Object](https://rapi.sleaze.dev/classes/Object.md): `ClassName`, `className`, `GetPropertyChangedSignal`, `IsA`, `isA`, `Changed`
