Authentication
The "Authentication" folder in the API collection serves as a centralized location for API requests and endpoints related to user authentication and authorization processes.
Request to receive a token, which is necessary to work with other requests. The token is valid for 60 minutes.
Variables in the structure include:
{{tenantName}}: Your Organization (Tenant) name
{{clientName}}: Your Client name
Your organization (tenant) name, e.g. acme-health
acme-healthAPI client name provisioned in the Admin portal
{{clientSecret}}Bearer token issued successfully
Bearer token. Valid for 60 minutes.
Bad request — the request could not be understood or was missing required parameters.
Unauthorized — the Bearer token is missing, expired, or invalid.
Forbidden — the API client role does not have permission for this resource. Check the role and security policy in Admin.
Not found — the requested resource does not exist.
Too many requests — rate limit exceeded. Implement exponential backoff.
Internal server error.
POST /{tenantName}/admin/api_clients/{clientName} HTTP/1.1
Host: api.live.welkincloud.io
Content-Type: application/json
Accept: */*
Content-Length: 29
{
"secret": "{{clientSecret}}"
}{
"token": "text"
}Last updated
Was this helpful?