SweetConnect LogoSweetConnect
ApiUsers

Get user name by ID

Get user name by ID

GET
/v1/users/{userId}/name
AuthorizationBearer <token>

In: header

Path Parameters

userId*string

The ID of user

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://my.sweetconnect.io/api/auth/v1/users/string/name"
{
  "data": "string",
  "meta": {
    "responseTime": 0
  }
}
{
  "statusCode": 0,
  "message": "string",
  "error": "string"
}
{
  "statusCode": 0,
  "message": "string",
  "error": "string"
}
{
  "statusCode": 0,
  "message": "string",
  "error": "string"
}
{
  "statusCode": 0,
  "message": "string",
  "error": "string"
}