How to create a Deel API token for Zendesk

By Jake Marsh · Updated

To create a Deel API token for Zendesk, go to More > Developer in Deel, open the Access Tokens tab, click Generate new token and choose Organization token. Select people:read, plus time-off:read for time off and it-assets:read for equipment, leave sensitive data access off, generate it and copy it right away: Deel won't show it again. In Staffwell's settings, tick Use Deel and paste the token into Deel API token.

Why an organization token

Deel offers an organization token, which reaches every person in the organization, and a personal token, which reaches only what one user can see. Staffwell needs to find whoever writes in to your help desk, so it's set up with an organization token. The scopes you pick keep it narrow.

Steps

  1. Open the Developer Center. In Deel, go to More > Developer and click the Access Tokens tab.
  2. Click Generate new token and choose Organization token.
  3. Select the scopes.
ScopeNeeded for
people:readRequired. Status, title, department, manager, location, start date, employment type and time zone
time-off:readTime off today and for the next two weeks
it-assets:readEquipment recorded in Deel IT
  1. Leave sensitive data access off. Staffwell never shows pay, birth dates, addresses, nationality or ID numbers, and asks Deel for a field list that leaves them out.
  2. Generate and copy the token. Deel shows it once.
  3. In Zendesk, open Admin Center > Apps and integrations > Zendesk Support apps > Staffwell, tick Use Deel and paste the token into Deel API token. It's a secure setting that Zendesk sends only to api.letsdeel.com.
  4. Open a ticket from someone in Deel and check their record loads.

What Deel shows for contractors and EOR employees

Deel holds contractors and employees side by side, and help desks often need to know which one they're helping before granting access. Staffwell reads the hiring type into Employment type:

Deel hiring typeShows as
Contractor, direct contractorContractor
EOREmployee (Deel EOR)
PEOEmployee (Deel PEO)
Direct employeeEmployee
Contractor outside DeelContractor (paid outside Deel)
Person without a contractNo contract

Status comes from Deel's hiring and termination details. Someone still onboarding shows Has not started yet, someone offboarding or with a termination in progress shows Leaving, and an inactive person shows Left the company.

How matching works with Deel

Staffwell searches Deel with each email address on the requester's Zendesk profile. If none matches, it searches their name once. Either way it keeps only people whose Deel profile email or work email is one of the requester's addresses, so a person with the same name never shows by mistake.

What Deel can't supply

Deel has no work phone field, so work_phone stays empty, and Staffwell can't build a link to the person's Deel record. Time off from Deel shows dates only; Deel doesn't send the type with it. If you list a field Deel can't supply, admins see it in the panel's short list of things to fix.

What it costs

Staffwell is $499 a month per Zendesk account on the Standard plan, any number of agents, with HiBob, Deel and BambooHR all included, billed monthly by Zendesk. It has a 14-day free trial; Zendesk asks for a card at install. Setup for every system is in the Staffwell documentation.

Staffwell

Employee profiles from HiBob, Deel or BambooHR on the ticket. You pick the HR fields agents see. $499 a month per Zendesk account.


Questions

Where do I find API tokens in Deel?

Under More > Developer, on the Access Tokens tab.

Can I see a Deel token again after creating it?

No. Deel shows it once. If you lose it, generate a new one, paste it into Staffwell and revoke the old one.

What does "refused the request" mean?

The token is missing a scope. Deel's answer names the scope, so generate a token that includes it.

Can Staffwell change anything in Deel?

No. It only reads, and only with the scopes you gave the token.


More Staffwell guides


More Zendesk guides