Search code examples
api-keyattask

AtTask getApiKey action returns unsupported action error


I'm following the directions in the AtTask API documentation to get an API key. My user is a system administrator, but the request always returns an error.

Request:

GET /attask/api/v4.0/user?action=getApiKey&username=user@company.com&password=********&method=put

Response:

{
    "error": {
        "class": "java.lang.UnsupportedOperationException",
        "message": "APIModel V4_0 does not support action getApiKey (USER)"
    }
}

Solution

  • the following should work

    GET /attask/api-unsupported/user?action=getApiKey&username=user@company.com&password=********&method=put