Skip to main content
POST/api/auth/v1/authenticate

Authenticate

Auth endpoint

Environment
Request Reference
https://testapi.corewave360.com
No Cached TokenRun Authenticate to cache bearer token automatically.

Sample Contract

Request Fields

TitleValueTypeRequired / OptionalDescription
Client IdclientIdtextRequiredRequest body field. Unique API client identifier issued to your institution. Max length 100
Client SecretclientSecrettextRequiredRequest 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

CodeMeaning
200Token generated successfully
400Invalid 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"
}'