Endpoints related to authentication, including login, token management, and authorisation.
Wia REST API User reference (v1)
A REST API to interact with Wia platform for user management for external IAM teams.
To get started, please ensure you have the correct permissions and appropriate client credentials. If you have not been provided client credentials, please contact your representative.
The API is organised around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.
https://docs.wia.io/_mock/apis/wia-user-management-api/swaggerforusermanagement/
https://api.wia.io/v1/
- Mock server
https://docs.wia.io/_mock/apis/wia-user-management-api/swaggerforusermanagement/auth/token
- Production
https://api.wia.io/v1/auth/token
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.wia.io/_mock/apis/wia-user-management-api/swaggerforusermanagement/auth/token \
-H 'Content-Type: application/json' \
-d '{
"clientId": "string",
"clientSecret": "string",
"refreshToken": "string",
"grantType": "client_credentials",
"scope": "organisation"
}'
{ "token": "u_at_abc123def45678", "refreshToken": "u_rt_abc123def45678", "scope": "user", "expiresIn": 36000, "createdAt": 1642759067045 }
- Mock server
https://docs.wia.io/_mock/apis/wia-user-management-api/swaggerforusermanagement/auth/token/revoke
- Production
https://api.wia.io/v1/auth/token/revoke
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.wia.io/_mock/apis/wia-user-management-api/swaggerforusermanagement/auth/token/revoke \
-H 'Authorization: Bearer <YOUR_Bearer_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"token": "string"
}'
{ "revoked": true }