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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | No | ||
| client_secret | No |