RESOURCES > USERS
Bedful Users
Users represent logins for the bedful system. They may be associated with sites in order to give them access to that site if they are a partner account. Normally user records will be retrieved along with other resources by using the expand=true param.
Get User
Use GET /users/:id
to fetch information on one user.
curl https://devapi.bedful.com/users/1 \
-u BEDFUL_KEY:
Parameters available
- id : specified in the url
This will return JSON like this for the matched record, or a 404 error if no record is found for the given id.
{
"id": 123,
"created_at": "2015-01-13T17:20:32Z",
"updated_at": "2020-03-19T10:48:53Z",
"status": 100,
"role": 0,
"email": "example@example.com",
"name": "Example User",
"display_name": ""
}
User Fields
- ID: The unique id of the user
- Status: The status of the user (0 is draft, 11 Suspended, 100 Live)
- Role: The role of this user
- Email: The email of this user
- Name: The name of this user
- Display Name: The preferred display name of this user - used for public display if set