Here is an example:
% curl --header "Content-Type: application/json" \
--header "Authorization: Token token=xxxxxxx" \
--request GET \
http://localhost:8080/api/v1/groups
{"error":"Not authorized (token)!","error_human":"Not authorized (token)!"}