Authenticate
Auth endpoint
Sample Contract
Request Fields
| Title | Value | Type | Required / Optional | Description |
|---|
| Client Id | clientId | text | Required | Request body field. Unique API client identifier issued to your institution. Max length 100 |
| Client Secret | clientSecret | text | Required | Request body field. Secret key paired with the client identifier for authentication. Max length 100 |
Sample Payload
{
"clientId": "YOUR_CLIENT_ID",
"clientSecret": "YOUR_CLIENT_SECRET"
}Sample Response
{
"accessToken": "eyJhbGciOi...",
"tokenType": "Bearer",
"expirationTime": 1700000000,
"tokenValiditySec": 3600
}Response Codes
| Code | Meaning |
|---|
| 200 | Token generated successfully |
| 400 | Invalid credentials or payload |
Response
Status: No request yet
Run an endpoint to inspect response.
cURL
curl --location 'https://testapi.corewave360.com/api/auth/v1/authenticate' \
--header 'request-reference: playground-001' \
--header 'Content-Type: application/json' \
--data '{
"clientId": "YOUR_CLIENT_ID",
"clientSecret": "YOUR_CLIENT_SECRET"
}'