post
https://api.vcita.biz/oauth/service/token
Overview
Generate an app access token using OAuth client credentials flow. No bearer token required - authentication is via service_id and service_secret in the request body.
Prerequisites
Requires an existing OAuth application. Create one using POST /platform/v1/apps to obtain client_id (service_id) and client_secret (service_secret).
Parameters
service_id: The OAuth applicationclient_id- a 64-character hexadecimal string (e.g.,20cecc9cc620b717187922baa7706ceaf27b254afdb435ff955a913b3393a8f9)service_secret: The OAuth applicationclient_secret- a 64-character hexadecimal string
How to Get Credentials
- Create an app:
POST /platform/v1/appswith directory token - Save the
client_idandclient_secretfrom the response - Use those values as
service_idandservice_secretin this endpoint
Usage
This token can be used to create widgets (for apps with app_type=['widgets']) or notifications for the app.
