---
updatedAt: 2026-07-13T07:05:39.000Z
agentTools:
  projectIndex: https://docs.getsmileapi.com/llms.txt
---

# View User

View a particular user profile.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Smile API",
    "version": "1.14.0",
    "description": "The Smile API provides employment and income data from a single API. ",
    "contact": {
      "name": "Smile Technology Pte Ltd",
      "url": "https://www.getsmileapi.com",
      "email": "info@getsmileapi.com"
    },
    "termsOfService": "https://www.getsmileapi.com/terms-and-conditions"
  },
  "servers": [
    {
      "url": "https://sandbox.smileapi.io/v1",
      "description": "Sandbox"
    },
    {
      "url": "https://open.smileapi.io/v1",
      "description": "Production"
    }
  ],
  "paths": {
    "/users/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/id"
        }
      ],
      "get": {
        "summary": "View User",
        "tags": [
          "Users"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserGetResponse"
                },
                "examples": {
                  "Example": {
                    "value": {
                      "code": "OK",
                      "message": "Success",
                      "requestId": "5b79399a-6852-4234-bb0e-ad472648282d",
                      "data": {
                        "id": "tenant-17bbf36498de4d68a0d4f86c7b62f69f",
                        "externalMetadata": {
                          "property1": "string",
                          "property2": "string"
                        },
                        "createdAt": "2021-04-14T09:30:24Z",
                        "session": {
                          "channel": "WinkSite",
                          "channelId": "site-123abc456def789abc123def456abc78",
                          "userId": "tenantId-123abc456def789abc123def456abc78",
                          "status": "COMPLETED"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "get-user",
        "description": "View a particular user profile.",
        "parameters": []
      }
    }
  },
  "components": {
    "schemas": {
      "ObjectMetadataRefCode": {
        "type": "string",
        "title": "ObjectMetadataRefCode",
        "description": "Request status code",
        "enum": [
          "OK",
          "CREATED",
          "INVALID_CREDENTIALS",
          "INVALID_PARAMETERS",
          "INVALID_TOKEN",
          "UNAUTHORIZED_ACCESS",
          "MISSING_RESOURCE",
          "REQUEST_LIMIT_EXCEEDED",
          "SERVER_ERROR",
          "UNSUPPORTED_METHOD",
          "SERVER_UNAVAILABLE",
          "TIME_LIMIT_EXCEEDED"
        ],
        "example": "OK",
        "x-internal": false
      },
      "ObjectMetadataRefMessage": {
        "type": "string",
        "title": "ObjectMetadataRefMessage",
        "description": "Message response to the request",
        "example": "Success",
        "x-internal": false
      },
      "ObjectMetadataRefRequestID": {
        "type": "string",
        "title": "ObjectMetadataRefRequestID",
        "description": "Unique ID that is added to the body of every response for easy traceability of the request in our logs.",
        "x-internal": false,
        "example": "5b79399a-6852-4234-bb0e-ad472648282d"
      },
      "RefObjectID": {
        "type": "string",
        "title": "Object ID",
        "description": "Unique ID of this object",
        "example": "17bbf36498de4d68a0d4f86c7b62f69f"
      },
      "ObjectExternalMetadata": {
        "title": "ObjectExternalMetadata",
        "type": "object",
        "additionalProperties": {
          "type": "string"
        },
        "maxProperties": 5,
        "description": "The Metadata object is a mapping of client-provided string fields to any string value. The following limitations apply:\n- The JSON values must be Strings (no nested JSON objects allowed)\n- Only ASCII characters can be used\n- Maximum of 5 key/value pairs\n- Maximum key length of 50 characters\n- Maximum value length of 500 characters"
      },
      "RefDateTime": {
        "type": "string",
        "title": "Date and Time string",
        "format": "date-time",
        "example": "2021-04-14T09:30:24Z",
        "description": "Date and time"
      },
      "SessionChannel": {
        "type": "string",
        "description": "The channel type",
        "enum": [
          "WinkSite",
          "Default"
        ]
      },
      "UserSessionStatus": {
        "description": "The status of a user session",
        "type": "string",
        "enum": [
          "IN_PROGRESS",
          "COMPLETED",
          "REVOKED"
        ],
        "example": "IN_PROGRESS"
      },
      "UserSession": {
        "description": "User session resource",
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "description": "The user ID associated with this session",
            "example": "tenantId-123abc456def789abc123def456abc78"
          },
          "channel": {
            "$ref": "#/components/schemas/SessionChannel"
          },
          "channelId": {
            "type": "string",
            "description": "The wink site ID",
            "example": "site-123abc456def789abc123def456abc78"
          },
          "status": {
            "$ref": "#/components/schemas/UserSessionStatus"
          }
        },
        "required": [
          "userId",
          "status"
        ]
      },
      "User": {
        "title": "User",
        "type": "object",
        "description": "A user is someone who is authorizing Smile to retrieve and share their employment and income data on their behalf.",
        "x-tags": [
          "Users"
        ],
        "x-examples": {
          "Example": {
            "id": "17bbf36498de4d68a0d4f86c7b62f69f",
            "externalMetadata": {
              "property1": "string",
              "property2": "string"
            },
            "createdAt": "2021-04-14T09:30:24Z",
            "session": {
              "channel": "Default",
              "channelId": null,
              "userId": "tenantId-123abc456def789abc123def456abc78",
              "status": "IN_PROGRESS"
            }
          }
        },
        "properties": {
          "id": {
            "$ref": "#/components/schemas/RefObjectID"
          },
          "externalMetadata": {
            "$ref": "#/components/schemas/ObjectExternalMetadata"
          },
          "createdAt": {
            "$ref": "#/components/schemas/RefDateTime"
          },
          "providers": {
            "deprecated": true,
            "description": "Array of providers connected to this user (listed by provider ID)",
            "type": "array",
            "default": [],
            "items": {
              "type": "string",
              "example": "upwork"
            }
          },
          "session": {
            "$ref": "#/components/schemas/UserSession"
          }
        },
        "required": [
          "id",
          "externalMetadata",
          "createdAt",
          "providers"
        ]
      },
      "UserGetResponse": {
        "title": "User Get Response",
        "properties": {
          "code": {
            "$ref": "#/components/schemas/ObjectMetadataRefCode"
          },
          "message": {
            "$ref": "#/components/schemas/ObjectMetadataRefMessage"
          },
          "requestId": {
            "$ref": "#/components/schemas/ObjectMetadataRefRequestID"
          },
          "data": {
            "$ref": "#/components/schemas/User"
          }
        },
        "x-examples": {}
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    },
    "parameters": {
      "id": {
        "name": "id",
        "in": "path",
        "schema": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "description": "ID of the specific object in the collection.",
        "required": true
      }
    }
  },
  "security": [
    {
      "basicAuth": []
    }
  ]
}
```