line
Installation
SKILL.md
Troubleshooting
If requests fail, run zero doctor check-connector --env-name LINE_TOKEN or zero doctor check-connector --url https://api.line.me/v2/bot/info --method GET
How to Use
All examples below assume you have LINE_TOKEN set. Authentication uses Bearer token in the Authorization header.
Base URL
https://api.line.me
1. Get Bot Info
Retrieve information about the bot associated with the channel access token.
curl -s "https://api.line.me/v2/bot/info" --header "Authorization: Bearer $LINE_TOKEN" | jq .