title: can i modify tabs of a template using API in docusign
body: <p>Reading the API documentation i understood that I can edit the tabs of recipients for an envelope which is created/sent</p>
  
  <p>However i am trying to undertsand can i also modify tabs for a template?</p>
  
  <p>When i used the same request, as the one below i am getting error</p>
  
  <p>Any reference would be appreciable.</p>
  
  <p>The reason for my question is, everytime when i update the feed document for some corrections i have to redo creating the fields over it. Rather if i can send the fields through API that would save me a lot of time</p>
  
  <p>Thank you</p>
  
  <p>Sample JSON while updating the TABS (trying to add Tabs)</p>
  
  <pre><code>{
    "signers": [
      {
        "tabs": {
          "fullNameTabs": [
            {
              "name": "Full Name",
              "tabLabel": "Full Name",
              "bold": "false",
              "italic": "false",
              "underline": "false",
              "documentId": "1",
              "recipientId": "5b46b9dc-d40d-493d-b319-5757bf1d5cb4",
              "pageNumber": "1",
              "xPosition": "321",
              "yPosition": "676",
              "tabId": "82be754a-47c6-47fc-9793-6fdec6758060"
            }
          ],
          "dateSignedTabs": [
            {
              "name": "Date Signed",
              "value": "",
              "tabLabel": "Date Signed",
              "bold": "false",
              "italic": "false",
              "underline": "false",
              "documentId": "1",
              "recipientId": "5b46b9dc-d40d-493d-b319-5757bf1d5cb4",
              "pageNumber": "1",
              "xPosition": "504",
              "yPosition": "676",
              "tabId": "1e3f16e8-77a9-4726-9876-66e6d377a0c1"
            }
          ]
        },
        "signInEachLocation": "false",
        "name": "",
        "email": "",
        "recipientId": "5b46b9dc-d40d-493d-b319-5757bf1d5cb4",
        "recipientIdGuid": "5b46b9dc-d40d-493d-b319-5757bf1d5cb4",
        "requireIdLookup": "false",
        "routingOrder": "1",
        "roleName": "ONE",
        "status": "created",
        "templateLocked": "false",
        "templateRequired": "false",
        "emailNotification": {
          "emailSubject": "Subject",
          "emailBody": "Body",
          "supportedLanguage": "en"
        }
      },
      {
        "tabs": {
          "signHereTabs": [
            {
              "name": "Sign Here",
              "tabLabel": "Signature 3",
              "scaleValue": 0.9,
              "optional": "false",
              "documentId": "1",
              "recipientId": "d4f63c18-8ccc-4ed3-bacb-660bebf829bf",
              "pageNumber": "1",
              "xPosition": "106",
              "yPosition": "591",
              "tabId": "9b20f825-f37c-4dc6-aa57-d29b3d531d6b"
            }
          ],
          "fullNameTabs": [
            {
              "name": "Full Name",
              "tabLabel": "Full Name",
              "bold": "false",
              "italic": "false",
              "underline": "false",
              "documentId": "1",
              "recipientId": "d4f63c18-8ccc-4ed3-bacb-660bebf829bf",
              "pageNumber": "1",
              "xPosition": "319",
              "yPosition": "622",
              "tabId": "79c35daf-cada-4a57-ac82-8a2a149839e8"
            }
          ],
          "dateSignedTabs": [
            {
              "name": "Date Signed",
              "value": "",
              "tabLabel": "Date Signed",
              "bold": "false",
              "italic": "false",
              "underline": "false",
              "documentId": "1",
              "recipientId": "d4f63c18-8ccc-4ed3-bacb-660bebf829bf",
              "pageNumber": "1",
              "xPosition": "504",
              "yPosition": "622",
              "tabId": "14d47f01-a911-49b9-bf04-1c4cadb2924a"
            }
          ]
        },
        "signInEachLocation": "false",
        "name": "",
        "email": "",
        "recipientId": "d4f63c18-8ccc-4ed3-bacb-660bebf829bf",
        "recipientIdGuid": "d4f63c18-8ccc-4ed3-bacb-660bebf829bf",
        "requireIdLookup": "false",
        "routingOrder": "2",
        "roleName": "TWO",
        "status": "created",
        "templateLocked": "false",
        "templateRequired": "false",
        "emailNotification": {
          "emailSubject": "Subject",
          "emailBody": "Body",
          "supportedLanguage": "en"
        }
      },
      {
        "tabs": {
          "approveTabs": [
            {
              "buttonText": "Approve",
              "width": 60,
              "height": 18,
              "tabLabel": "Approve 9",
              "font": "lucidaconsole",
              "bold": "false",
              "italic": "false",
              "underline": "false",
              "fontSize": "size9",
              "documentId": "1",
              "recipientId": "95f1d73e-df27-4f19-86ea-c921f0321d26",
              "pageNumber": "1",
              "xPosition": "228",
              "yPosition": "718",
              "tabId": "5083943e-bdf0-42fe-87ff-d92778b13be7"
            }
          ],
          "declineTabs": [
            {
              "buttonText": "Decline",
              "width": 60,
              "height": 18,
              "declineReason": "",
              "tabLabel": "Decline 10",
              "font": "lucidaconsole",
              "bold": "false",
              "italic": "false",
              "underline": "false",
              "fontSize": "size9",
              "documentId": "1",
              "recipientId": "95f1d73e-df27-4f19-86ea-c921f0321d26",
              "pageNumber": "1",
              "xPosition": "350",
              "yPosition": "718",
              "tabId": "b1c1ad78-e3b9-4630-b411-09127997f7dd"
            }
          ]
        },
        "signInEachLocation": "false",
        "name": "",
        "email": "",
        "recipientId": "95f1d73e-df27-4f19-86ea-c921f0321d26",
        "recipientIdGuid": "95f1d73e-df27-4f19-86ea-c921f0321d26",
        "requireIdLookup": "false",
        "routingOrder": "3",
        "roleName": "THREE",
        "status": "created",
        "templateLocked": "false",
        "templateRequired": "false",
        "emailNotification": {
          "emailSubject": "Subject",
          "emailBody": "Body",
          "supportedLanguage": "en"
        }
      }
    ],
    "agents": [],
    "editors": [],
    "intermediaries": [
      {
        "name": "",
        "email": "",
        "recipientId": "fa2bffdb-81d7-4de4-a964-e543e2d1d3cf",
        "recipientIdGuid": "fa2bffdb-81d7-4de4-a964-e543e2d1d3cf",
        "requireIdLookup": "false",
        "routingOrder": "3",
        "roleName": "FOUR",
        "status": "created",
        "templateLocked": "false",
        "templateRequired": "false",
        "emailNotification": {
          "emailSubject": "Subject",
          "emailBody": "Body",
          "supportedLanguage": "en"
        }
      }
    ],
    "carbonCopies": [],
    "certifiedDeliveries": [],
    "inPersonSigners": [],
    "recipientCount": "5"
  }
  </code></pre>
  
  <p>URL (tried both POST/PUT)</p>
  
  <pre><code>https://DOMAIN/restapi/v2/accounts/ACCTID/envelopes/ENVELOPID/recipients
  </code></pre>
  
  <p>RESPONSE</p>
  
  <pre><code>{
    "errorCode": "ENVELOPE_CANNOT_CORRECT_INVALID_STATE",
    "message": "This account may not have 'correct' permission, or the envelope state is not 'sent' or 'delivered'."
  }
  </code></pre>