authenticate
Log in to Admitad API using OAuth2 client credentials or environment variables. Returns username, webmaster ID, and token expiration.
Instructions
Authenticate with Admitad API using OAuth2 client credentials.
If client_id / client_secret are empty, falls back to ADMITAD_CLIENT_ID / ADMITAD_CLIENT_SECRET environment variables.
Returns username, webmaster_id, token_expires_in seconds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "authenticate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | No | ||
| client_secret | No |