GuidesAPI ReferenceChangelog
Guides

API Tokens

Deel API uses API tokens to authenticate requests. A bearer token is required to authenticate all API requests.

All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.

curl -X GET 'api.letsdeel.com/rest/v2/contracts' \
-H 'Authorization: Bearer YOUR-TOKEN-HERE'

Generating access tokens

  1. Go to More > Developer.

    Screenshot showing how to navigate to the Developer Center

    Screenshot showing how to navigate to the Developer Center

  2. Go to the Access Tokens tab and click Generate new token.

    Screenshot highlighting the **Generate new token** button

    Screenshot highlighting the Generate new token button

  3. On the first step of the Generate access token wizard, enter a label, select the token type, then click Next.

    • Choose an organization token if you want to grant access to every resource in the organization

    • Choose a personal token if you want to grant access to the resources of the user who creates the token

      Screenshot showing how to navigate to the Developer Center

      Screenshot showing the step where the token label and type are defined

  4. On the next step of the wizard, select the scopes for the token, then click Next.

    Screenshot showing the step where the token scopes are defined

    Screenshot showing the step where the token scopes are defined

  5. At the next step of the wizard, customize the access level of the token to sensitive data, then click Next.

    Screenshot showing the step where access to sensitive data is defined

    Screenshot showing the step where access to sensitive data is defined

  6. On the last step of the wizard, review your settings, then click Generate.

    Screenshot showing the step where the token details are reviewed and the token is generated

    Screenshot showing the step where the token details are reviewed and the token is generated

The token is generated, copy it somewhere safe because it won't be possible to display it again.

Screenshot showing a message with the successfully generated token

Screenshot showing a message with the successfully generated token


What’s Next