> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/sdks-and-cli/notifications/push/register-code-mash-app-push-integration.md).

# Register Code Mash App Push Integration

The **Push** channel delivers notifications to iOS, Android, and web — device registration, templates, campaigns, and provider integrations. Handles the code mash app push integration.

This method is on the **Hub** surface (`norbix.hub.notifications`) — call it from admin tooling or IaC.

{% hint style="info" %}
These examples assume the SDK is installed and your credentials are set as environment variables — each client reads them automatically, so the constructors below take no arguments. See [Install a Norbix SDK](/sdks-and-cli/install.md).
{% endhint %}

{% tabs %}
{% tab title="JavaScript / TypeScript" %}

```ts
import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();

const result = await norbix.hub.notifications.registerCodeMashAppPushIntegration({
  accountId: 'acc_4kX9mQvR2tYw7ZbC1dFgHj',
  userId: 'usr_4kX9mQvR2tYw7ZbC1dFgHj',
  requestId: 'request_4kX9mQvR2tYw7ZbC1dFgHj',
  pin: 10,
});
```

{% endtab %}

{% tab title=".NET" %}

```csharp
using Norbix.Sdk;
using Norbix.Sdk.Types.Hub;

using var client = new NorbixClient();

var result = await client.Notifications.RegisterCodeMashAppPushIntegrationAsync(new RegisterCodeMashAppPushIntegration
{
    AccountId = "acc_4kX9mQvR2tYw7ZbC1dFgHj",
    UserId = "usr_4kX9mQvR2tYw7ZbC1dFgHj",
    RequestId = "request_4kX9mQvR2tYw7ZbC1dFgHj",
    Pin = 10,
});
```

{% endtab %}

{% tab title="Python" %}

```python
from norbix_python import NorbixHub

norbix = NorbixHub()

result = norbix.notifications.register_code_mash_app_push_integration(
    accountId="acc_4kX9mQvR2tYw7ZbC1dFgHj",
    userId="usr_4kX9mQvR2tYw7ZbC1dFgHj",
    requestId="request_4kX9mQvR2tYw7ZbC1dFgHj",
    pin=10,
)
```

{% endtab %}

{% tab title="Go" %}

```go
c, _ := norbix.New(norbix.Options{})
ctx := context.Background()

var result map[string]any
err := c.Hub.Notifications.RegisterCodeMashAppPushIntegration(ctx, map[string]any{
	"accountId": "acc_4kX9mQvR2tYw7ZbC1dFgHj",
	"userId": "usr_4kX9mQvR2tYw7ZbC1dFgHj",
	"requestId": "request_4kX9mQvR2tYw7ZbC1dFgHj",
	"pin": 10,
}, &result)
```

{% endtab %}

{% tab title="Dart / Flutter" %}

```dart
import 'package:norbix/norbix_hub.dart';

final hub = NorbixHub();

final result = await hub.pushNotifications.registerCodeMashAppPushIntegration(body: {
  'accountId': 'acc_4kX9mQvR2tYw7ZbC1dFgHj',
  'userId': 'usr_4kX9mQvR2tYw7ZbC1dFgHj',
  'requestId': 'request_4kX9mQvR2tYw7ZbC1dFgHj',
  'pin': 10,
});
```

{% endtab %}

{% tab title="Swift" %}

```swift
import NorbixSwift

let client = Norbix()

let result = try await client.hub.notifications.registerCodeMashAppPushIntegration([
    "accountId": "acc_4kX9mQvR2tYw7ZbC1dFgHj",
    "userId": "usr_4kX9mQvR2tYw7ZbC1dFgHj",
    "requestId": "request_4kX9mQvR2tYw7ZbC1dFgHj",
    "pin": 10,
])
```

{% endtab %}

{% tab title="Kotlin" %}

```kotlin
import dev.norbix.sdk.hub.NorbixHub

val hub = NorbixHub()

val result = hub.notifications.registerCodeMashAppPushIntegration(mapOf(
    "accountId" to "acc_4kX9mQvR2tYw7ZbC1dFgHj",
    "userId" to "usr_4kX9mQvR2tYw7ZbC1dFgHj",
    "requestId" to "request_4kX9mQvR2tYw7ZbC1dFgHj",
    "pin" to 10,
))
```

{% endtab %}

{% tab title="CLI" %}

```sh
norbix hub push code mash app integration register --accountId acc_4kX9mQvR2tYw7ZbC1dFgHj --userId usr_4kX9mQvR2tYw7ZbC1dFgHj --requestId request_4kX9mQvR2tYw7ZbC1dFgHj --pin 10
```

{% endtab %}
{% endtabs %}

## In the dashboard

Manage this visually in Norbix Cloud — see [Notifications → Push](/norbix-cloud/notifications/push.md).

## API reference

Full request and response for this endpoint: [Register Code Mash App Push Integration](/api-reference/notifications/push/register-code-mash-app-push-integration.md).
