Get User Export
Emails a guest export to the guest as well as the requester
Headers
- Type: stringAuthorizationrequired
Bearer token for admin authorization, who is making a call on behalf of the customer. Send the API key in the following format: "Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE".
Body
application/json
- Type: booleanemail
_admin _only When true, the email will be sent only to the admin.
- Type: integeruser
_id User ID of the guest in the Punchh system. You can get this value from the User object.
Responses
- application/json
- application/json
Request Example for post/api2/dashboard/users/send_user_details_export
curl https://SERVER_NAME_GOES_HERE.punchh.com/api2/dashboard/users/send_user_details_export \
--request POST \
--header 'Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE' \
--header 'Content-Type: application/json' \
--data '{
"email_admin_only": true,
"user_id": 111111111
}'
{}