GetIntegrationUser
/api/v1/integrations/{integration}/users/{user}Fetch how an integration that syncs users reports one directory user. A user who isn’t an admin can only fetch one that names them.
Example request
Section titled “Example request”curl \ -H "Authorization: Bearer ${OBLIQUE_API_KEY}" \ "https://us.oblique.security/api/v1/integrations/{integration}/users/{user}"Set OBLIQUE_API_KEY to your API key.
curl \ -H "Authorization: Bearer ${OBLIQUE_API_KEY}" \ "https://eu.oblique.security/api/v1/integrations/{integration}/users/{user}"Set OBLIQUE_API_KEY to your API key.
Path parameters
Section titled “Path parameters”namestringrequiredName of the integration user of the format
integrations/{integration}/users/{user}.
Response
Section titled “Response”200IntegrationUserIntegrationUser is a directory user as an integration that syncs users
reports them: the ID the integration knows the person by and the email
addresses it reports for them. One is recorded for every user the
integration lists, whether or not it reports them as active, and is dropped
once the integration stops listing them. A user reported by several
integrations has one IntegrationUser per integration.
namestringAssigned by Oblique. Name of the integration user, of the format
integrations/{integration}/users/{user}.userstringread-onlyThe directory user the integration’s user is matched to. Empty for one matched to nobody.
Format:
users/{user}integrationIdstringread-onlyThe ID the integration knows the user by, such as a Google Workspace user ID. An integration reports each ID once.
emailsstring[]read-onlyEvery email address the integration reports for the user, most authoritative first.
createTimestring (date-time)read-onlyCreate and update timestamps.
updateTimestring (date-time)read-only
Errors
Section titled “Errors”| Status | Meaning |
|---|---|
400 | Malformed request |
401 | Missing or invalid API key |
403 | Not allowed for this API key |
404 | Not found |
429 | Too many requests |
500 | Internal server error |