# OpenCloudService

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, Service
- Memory category: Instances
- HTML page: https://rapi.sleaze.dev/classes/OpenCloudService/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/OpenCloudService

**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. Do not use for new work; prefer [`HttpService`](https://rapi.sleaze.dev/classes/HttpService.md) for in-experience HTTP requests.

## Methods

### HttpRequestAsync

```luau
OpenCloudService:HttpRequestAsync(options: { [string]: any }): { [string]: any }
```

- Tags: Yields, Roblox script security, Capabilities: Network

### RegisterOpenCloud

```luau
OpenCloudService:RegisterOpenCloud(version: string, methodName: string, method: (...any) -> ...any)
```

- Tags: Roblox script security, Capabilities: Network

### RegistrationComplete

```luau
OpenCloudService:RegistrationComplete()
```

- Tags: Roblox script security, Capabilities: Network

### GetApiV1

```luau
OpenCloudService:GetApiV1(): OpenCloudApiV1
```

- Tags: Deprecated, Capabilities: Network

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

Returns an [`OpenCloudApiV1`](https://rapi.sleaze.dev/classes/OpenCloudApiV1.md) object. Always raises an error.

### InvokeAsync

```luau
OpenCloudService:InvokeAsync(version: string, methodName: string, arguments: { [string]: any }, headers: { [string]: any }? = nil): { [string]: any }
```

- Tags: Deprecated, Yields, Capabilities: Network

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

Deprecated. Dispatches a named Open Cloud call and returns its result.

Parameters:

- `version`: API version string identifying the call surface.
- `methodName`: Name of the Open Cloud method to invoke.
- `arguments`: A dictionary of arguments forwarded with the call.
- `headers`: Optional request headers dictionary.

Returns: A dictionary containing the response.

## 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`
