GET
/
v1
/
users
/
{userId}
Get a user by ID
curl --request GET \
  --url https://api.openphone.com/v1/users/{userId} \
  --header 'Authorization: <api-key>'
{
  "data": {
    "id": "<string>",
    "email": "[email protected]",
    "firstName": "John",
    "lastName": "Doe",
    "pictureUrl": "https://example.com/picture.jpg",
    "role": "owner",
    "createdAt": "2022-01-01T00:00:00Z",
    "updatedAt": "2022-01-01T00:00:00Z"
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

userId
string
required

The unique identifier of the user being retrieved.

Examples:

"US123abc"

Response

Success

data
object
required