Skip to Content
Users

Get public details of a user

GET
/users/{user_id}

Path Parameters

user_id*string

The URL Slug of a user.

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Response Body

Ok

application/json
  1. response
id*integer

The unique ID of the user

url_slug?string

The URL Slug of the user

type*UserType

The possible types of users.

Value in"user""org"
Example Request
curl -X GET 'https://api.devopness.com/users/johndoe' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json'
Example Response
{  "id": 45678,  "url_slug": "someone",  "type": "user"}