Documentation Sweet Pricing API

GET / users

This endpoint gets a list of all users that can access a client account. It only provides the first name and last name of each user.

URL

https://api.sweetpricing.com/v1.0/users

Header

Field Type Description
Authorization String

Header of form api-key <API key>

Authorization: api-key <API Key>

200

Field Type Description
users Object[]

Array of users.

users.id Number

ID of user.

users.firstName String

First name of user.

users.lastName String

Last name of user.

{
	"users": [{
		"id": 1,
		"firstName": "Joe",
		"lastName": "Bloggs"
	}]
}

401

Name Description
401

You are not authenticated to perform the request.

403

Name Description
403

You are not allowed to view/modify this resource.

404

Name Description
404

Resource not found.