Push API and Webhooks
...
Application
CompanyUser
basic example \# request curl i \\ x get "$host/$api version/companies/1/users/xxx/" \\ h "content type application/json" \# response status code 200 ok content type application/json { 'count' 4, 'next' '$host/$api version/companies/1/users/xxx/?page=4', 'previous' '$host/$api version/companies/1/users/xxx/?page=2', 'results' \[ { 'id' 1, 'role' 'admin', 'first name' 'kalle', 'last name' 'kula', 'email primary' 'kalle\@kulla com', 'emails' \['kula\@kalle com', 'kalle\@kulla com'] }, { 'id' 2, 'role' 'owner', 'first name' 'kalle', 'last name' 'kula', 'email primary' 'kalle\@kulla com', 'emails' \['kula\@kalle com', 'kalle\@kulla com'] },{ 'id' 3, 'role' 'manager', 'first name' 'kalle', 'last name' 'kula', 'email primary' 'kalle\@kulla com', 'emails' \['kula\@kalle com', 'kalle\@kulla com'] }, { 'id' 4, 'role' 'member', 'first name' 'kalle', 'last name' 'kula', 'email primary' 'kalle\@kulla com', 'emails' \['kula\@kalle com', 'kalle\@kulla com'] }, ] } list get /companies/\<company pk>/users/\<sign hash> query string parameters name type mandatory? description roles string no roles that can be used to filter the users response name type description count integer total number of results next string (url) link to the next page previous string (url) link to the previous page results array collection of company's users exceptions status description 403 permission denied 405 method not supported