API Authentication

Worky API uses OAuth 2.0 Bearer tokens for authentication. All API requests must include a valid access token in the Authorization header.

Getting Your API Token

Contact your Worky administrator to obtain API credentials. You'll receive:

  • Client ID
  • Client Secret
  • API Scopes based on your access level

Making Authenticated Requests

Include the Bearer token in the Authorization header for all API requests:

Example authenticated request
curl -X GET "https://api-nova-dev.worky.mx/accounts/directory/api/v1/employees" \
  -H "Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6..." \
  -H "Content-Type: application/json" \
  -H "Accept: application/json"

Required Headers

HeaderValueRequired
AuthorizationBearer <token>✅ Yes
Content-Typeapplication/json✅ Yes
Acceptapplication/jsonRecommended

Token Expiration

Important: Access tokens expire after a set period. Implement token refresh logic in your application to maintain continuous access.