For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
SupportDeveloper ForumLogin
  • Overview
    • Introduction
    • Getting Started
    • Integration Example (PSA)
    • Authentication
    • Error Handling
    • Pagination
    • Filtering
    • Ordering
    • Rate Limits
    • Permissions
    • Webhooks
    • MCP Server
    • Versioning
    • Changelog
    • Support
  • API v1 Reference
    • Projects Overview
    • Tasks Overview
    • Time Tracking Overview
    • Documents Overview
    • Search Overview
    • Companies Overview
    • Users Overview
      • GETGets all absence regions.
      • POSTCreates a new absence region.
      • GETList of supported countries for absence regions.
      • GETList of locations for a country.
      • POSTAssign/remove current user to/from an absence region.
      • PUTAssign/remove current user to/from an absence region.
      • POSTAssigns or unassigns users to/from an absence region.
      • PUTAssigns or unassigns users to/from an absence region.
      • GETGet an absence region by id.
      • PUTUpdates an absence region.
      • DELDeletes an absence region.
    • Files & Images Overview
    • Custom Fields Overview
    • Workload & Planning Overview
    • Project Templates Overview
    • Workflows Overview
    • Login & Access Overview
    • API Management Overview
LogoLogo
SupportDeveloper ForumLogin
API v1 ReferenceAbsence Regions

List of supported countries for absence regions.

GET
https://api.awork.com/api/v1/absenceregions/countries
GET
/api/v1/absenceregions/countries
$curl https://api.awork.com/api/v1/absenceregions/countries \
> -H "Authorization: Bearer <token>"
200Retrieved
1[
2 {
3 "code": "DE",
4 "name": "Germany"
5 }
6]
Returns a list of supported countries for absence regions. A country is defined by an ISO 3166-1 alpha-2 country code. <Check title="Required Permissions" icon="key">Any authenticated user.</Check>
Was this page helpful?
Previous

List of locations for a country.

Next
Built with

Returns a list of supported countries for absence regions. A country is defined by an ISO 3166-1 alpha-2 country code.

Required Permissions
Any authenticated user.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

OK
codestring or null

The ISO-3166-1 alpha-2 country code.

namestring or null
The name of the country.