Kurrier APIRoutes
Current API user
Validate an API key and identify the Kurrier user it belongs to.
Current API user
Use GET /me to verify that an API key is valid and retrieve the user ID associated with it.
This is useful for connectivity checks and for discovering the ownerId required by another API request. For authentication and the hosted API base URL, see API Authentication.
Request
GET /me
curl 'https://YOUR_KURRIER_HOST/api/kurrier/me' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Accept: application/json'Response
{
"userId": "8f7c0e1e-d334-4f63-9df8-bb45d0cf94a3"
}| Field | Description |
|---|---|
| userId | UUID of the Kurrier user who created the API key. |
The API key acts as this user and remains subject to that user's workspace role, identity access, and the key's configured permissions.
Troubleshooting
- A
401 Unauthorizedresponse usually means the bearer token is missing, incomplete, revoked, or being sent to the wrong Kurrier host. - If this endpoint succeeds but another route returns
403 Forbidden, review the key's scopes and the user's access to the requested workspace resource. - Never include the API key itself in logs or support requests.