Check LINE Token Validity
line_check_tokenVerify an active OA's channel access token to check validity, remaining lifetime, and granted scope. Warns when less than 7 days remain to prevent silent campaign failures.
Instructions
Verify the active OA's channel access token (GET /oauth2/v2.1/verify) — reports bound client_id, remaining lifetime, and granted scope; warns (Thai) when <7 days remain. Run before a campaign: a token expiring mid-send fails silently. An invalid/expired token surfaces a 401 error (no { valid:false } shape).
Returns { valid, client_id, expires_in_seconds, expires_in_days, scope?, warning? }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oa | No | Optional OA id; defaults to active OA. |