InsionInsion
UsersUser

Retrieve a user

Retrieve one user by its Insion user ID.

GET
/api/v1/users/{userId}

Authorization

bearerAuth
AuthorizationBearer <token>

Provide an API key from the Insion dashboard in the Authorization header: Bearer YOUR_API_KEY.

In: header

Path Parameters

userId*string

Insion user ID.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/users/string"
{  "data": {    "id": "string",    "clientId": "string",    "clientUrl": "http://example.com",    "email": "string",    "name": "string",    "username": "string",    "protected": true,    "metadata": {},    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "actionStatus": "Compliant",    "actionStatusCreatedAt": "2019-08-24T14:15:22Z",    "appealUrl": "http://example.com"  }}
{  "error": {    "message": "string"  }}
{  "error": {    "message": "string"  }}