Open API Token與Secret Key換發
Authorizations
AuthorizationstringRequired
Bearer token for API authentication
Query parameters
botIdstringRequired
The bot ID for the API request
Body
secretstringRequiredExample:
Secret key for API authentication
your_secret_key_hereResponses
200
OpenAPI token information retrieved successfully
application/json
successbooleanRequiredExample:
truemessagestringRequiredExample:
Operation completed successfullyapiTokenstringOptionalExample:
API authentication token
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...apiSecretstringOptionalExample:
API secret key
secret_key_here401
JWT token is invalid or expired
application/json
403
Permission denied - insufficient access rights
application/json
404
Resource not found
application/json
429
Rate limit exceeded
application/json
500
Internal server error
application/json
post
/openapi/tokenLast updated