アカウント
現在のアカウントを取得
GEThttps://api.temporam.com/v3/me
現在のユーザー情報(サブスクリプション、プラン使用量、メールボックス使用量など)を取得します。
- 1curl https://api.temporam.com/v3/me \
- 2 -H "Authorization: Bearer YOUR_API_KEY"
- 1{
- 2 "data": {
- 3 "name": "Demo User",
- 4 "email": "[email protected]",
- 5 "plan": "plus",
- 6 "period_start": "2026-08-01T00:00:00+08:00",
- 7 "period_end": "2026-09-01T00:00:00+08:00",
- 8 "inbound": {
- 9 "limit": 10000,
- 10 "used": 125,
- 11 "remaining": 9875
- 12 },
- 13 "outbound": {
- 14 "limit": 1000,
- 15 "used": 20,
- 16 "remaining": 980
- 17 },
- 18 "mailboxes": {
- 19 "limit": 10,
- 20 "used": 3
- 21 }
- 22 }
- 23}
| レスポンスフィールド | 型 | 説明 |
|---|---|---|
| data.name | string | ユーザーの表示名。空の場合があります |
| data.email | string | ユーザーのメールアドレス |
| data.plan | string | プランコード:hobby、plus、pro |
| data.period_start | string | 現在の使用期間の開始時刻 |
| data.period_end | string | 現在の使用期間の終了時刻 |
| data.inbound.limit | integer | 期間内の受信上限 |
| data.inbound.used | integer | 期間内の受信使用量 |
| data.inbound.remaining | integer | 残りの受信量 |
| data.outbound.limit | integer | 期間内の送信上限 |
| data.outbound.used | integer | 期間内の送信使用量 |
| data.outbound.remaining | integer | 残りの送信量 |
| data.mailboxes.limit | integer | 有効なメールボックスの上限数 |
| data.mailboxes.used | integer | 有効なメールボックス数 |