7372a52709 | ||
---|---|---|
.. | ||
README.md |
README.md
Asana
Description
Programmatic access to all data in your asana system
Example Request
- Curl
curl https://app.asana.com/api/1.0/users/me -H "Authorization: Bearer {{token}}"
- Raw
GET /api/1.0/users/me HTTP/1.1
Host: app.asana.com
Authorization: Bearer {{token}}
...
Response
- Success
{
"data":{
"gid":"123456789023456",
"email":"test@gmail.com",
"name":"Test",
"photo":null,
"resource_type":"user",
"workspaces": [
{
"gid":"123456789023456",
"name":"Test",
"resource_type":"workspace"
},
{
"gid":"123456789023456",
"name":"emailDomain",
"resource_type":"workspace"
}
]
}
}
- Error
{
"errors":[
{
"message":"Not Authorized",
"help":"For more information on API status codes and how to handle them, read the docs on errors: https://asana.com/developers/documentation/getting-started/errors"
}
]
}
Regex
0\/[a-z0-9]{32}
Example API key
0/123aa4df560cdb7890f123spd1p2ep11