Get API key owner profile
What it does
Section titled “What it does”Returns the profile of the user that owns the API key you authenticated with. Useful to verify a key after collingo login or in your own tooling.
Request
Section titled “Request”GET /api/v1/info
| Auth | Required (Authorization: Bearer <apiKey>) |
| Path parameters | None |
| Query parameters | None |
| Body | None |
Headers
Section titled “Headers”Authorization: Bearer <your-api-key>Example
Section titled “Example”curl -sS https://collingo.app/api/v1/info \ -H "Authorization: Bearer <your-api-key>"Response
Section titled “Response”200 OK
Section titled “200 OK”{ "id": "cluser0123456789abcdefgh", "email": "you@example.com", "firstName": "Ada", "lastName": "Lovelace", "locale": "en-US", "timezone": "Europe/Berlin"}Errors
Section titled “Errors”| Status | When |
|---|---|
401 | Missing or invalid API key (ERR_UNAUTHORIZED) |
404 | User not found (ERR_SETTINGS_PROFILE_USER_NOT_FOUND) |
500 | Database or internal error |