A
Asana REST API
Details
- URL
-
https://app.asana.com/api/1.0 - Spec
- https://raw.githubusercontent.com/Asana/developer-docs/master/defs/asana_oas.yaml
- Spec (json)
- https://api.apis.guru/v2/specs/asana.com/1.0/openapi.json
- Docs
- https://developers.asana.com/reference/ac-api-reference
Authentication
In the Asana developer console, create a personal access token from My apps. Give it a description, copy the token, and send it in the Authorization: Bearer <token> header when calling the API.
Create an app in the Asana developer console. Use the app's client ID and client secret with Asana's OAuth 2.0 authorization code flow. The docs list the authorize endpoint as GET https://app.asana.com/-/oauth_authorize, token endpoint as POST https://app.asana.com/-/oauth_token, and revoke endpoint as POST https://app.asana.com/-/oauth_revoke. The resulting access token is sent as Authorization: Bearer <token>.