> For the complete documentation index, see [llms.txt](https://documentation.pushly.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.pushly.com/pushly-ja/faq/neitibuapuripusshu/pushyzidno.md).

# PushユーザーIDの取得

次の手順で Push User ID を取得できます。この ID は、以下を使用してテスト通知を送信するために利用できます。 `Subscriber ID / Push ID` セグメント条件に使用するか、デバッグ目的でアカウントマネージャーに提供できます。

通知を購読しているデバイスで、20 秒以内にアプリをフォアグラウンドとバックグラウンドに 4 回切り替えてください。その後、Push User ID がデバイスのクリップボードにコピーされます。

テキストを入力できる場所ならどこでも、メモ、メール、チャットメッセージなどに貼り付けて取得してください。次のように表示されます：

```
553a886c1dfc39fc59fbfa477b31b527
```

ID は単独でコピーされるため、以下に直接貼り付けることができます。 `Subscriber ID / Push ID` セグメント条件。

## 手順を正しく実行する

各繰り返しは、実際にバックグラウンドへ移動して戻るものである必要があるため、いくつかの点が重要です：

* **アプリを完全に終了してください。** ホーム画面に戻るか、別のアプリに切り替えてください。iOS では、アプリスイッチャーを開いてアプリに戻るだけでは *不十分です* — アプリは実際にはバックグラウンドに移動しないため、その繰り返しはカウントされません。
* **戻る前に約 1 秒待ってください。** すぐにスワイプして戻ると速すぎて、アプリがバックグラウンドに入ったことをデバイスが認識できない場合があります。
* **20 秒以内に 4 回のサイクルを完了してください。** 20 秒のウィンドウはスライド式なので、20 秒間の範囲内に収まる有効な 4 サイクルであればどれでも構いません。最初に遅れても、やり直す必要はありません。

## 表示される内容

**iOS**

画面には何も表示されません。ID は静かにクリップボードに保存されるので、どこかに貼り付けて取得できたことを確認してください。

**Android**

画面左下にクリップボードのプレビューが表示され、コピーした Push ID を共有するオプションが出ます。

![](https://810756845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lry9Z27iWOZyQEGAgY7%2Fuploads%2FjEk9aZa3zQQutTLcXMtd%2FScreenshot_20230810-085509.png?alt=media\&token=ae6a1b1b-59c4-40a0-97bd-a54d17b02d49)

## 何もコピーされない場合

数回試してもクリップボードが変わらない場合：

* アプリスイッチャーを開くだけでなく、毎回ホーム画面または別のアプリに移動していることを確認してください。
* 少しゆっくり行い、毎回バックグラウンドで約 1 秒間待ってください。
* この機能は個別のアプリケーションごとに無効化できます。あなたのアプリでオフになっている場合、この手順は何も実行されません。確認のためアカウントマネージャーにお問い合わせください。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://documentation.pushly.com/pushly-ja/faq/neitibuapuripusshu/pushyzidno.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
