Skip to main content
All CollectionsIntegrationsAPI 2.0
Getting a list of team members
Getting a list of team members

How to get a list of all team members added to your Woodpecker account

Weronika Wróblewska avatar
Written by Weronika Wróblewska
Updated over 2 years ago

To get a list of all team members, use the following request:

GET https://api.woodpecker.co/rest/v2/users

Sample response:

{
"content": [ {
"id": 1234,
"name": "Michael Scott",
"email": "[email protected]",
"role": "admin"
},
{
"id": 1235,
"name": "Jim Halpert",
"email": "[email protected]",
"role": "user"
}],
"pagination_data": {
"total_elements": 2,
"total_pages": 1,
"current_page_number": 1,
"page_size": 50
}
}

Response data type:

  • content - JSON object, list of all users with access to the specific company.

  • id - number, user ID.

  • name - string, user name.

  • email - string, user email.

  • role - string, a user role. Available roles: admin, user.

  • pagination_data - JSON object, informations about total elements available to check, total pages etc.


Want to integrate with us?

If you're interested in building a native integration with Woodpecker, fill out this form and we'll get back to you.

Did this answer your question?