Project Email Addresses


Get Project Email Address

GET /projects/{id}/emailaddress.json

This call will get the unique project email addresses for sending items to a project via a project member.

Response

Status 200 if successful or 404 if address is not set

{
  "STATUS": "OK",
  "emailaddress": {
    "addresses": [
      {
        "tasks": "twdev@tasks.teamwork.com"
      },
      {
        "messages": "twdev@messages.teamwork.com"
      },
      {
        "notebooks": "twdev@notebooks.teamwork.com"
      },
      {
        "files": "twdev@files.teamwork.com"
      },
      {
        "links": "twdev@links.teamwork.com"
      }
    ],
    "code": "twdev"
  }
}


Update Project Email Address

PUT /projects/{id}/emailaddress.json

This call will update the unique project email addresses used to send items to a project via a project member.

Request

{  
  "emailaddress": {    
    "code": "twdev"
  }
}

Response

{
  "STATUS": "OK",
  "emailaddress": {
    "addresses": [
      {
        "tasks": "twdev@tasks.teamwork.com"
      },
      {
        "messages": "twdev@messages.teamwork.com"
      },
      {
        "notebooks": "twdev@notebooks.teamwork.com"
      },
      {
        "files": "twdev@files.teamwork.com"
      },
      {
        "links": "twdev@links.teamwork.com"
      }
    ],
    "code": "twdev"
  }
}