The postLinksImport API Command adds the links to the website in the campaign selected earlier in the “beginPostLinksImport” command. After importing all the links use the “commitPostLinksImport” command to end the process.
Using this command consumes 1 credit.
The command is included in the Campaign API Module and will only consume credits assigned for Campaign API Operations.
|campaignId||The ID number of the campaign you wish to add competitors to.|
|siteId||The ID number of the website you will add links to.|
|nrLinks||The total number of links you are going to import.|
|links(*)||The URL of the link added. * represents the number of the link added (its takes values between 1 and the number from the “nrLinks” parameter)|
Input URL Example
Running this command will result in the following JSON output:
"api": "cognitiveSEO API",
|status||The status of the command (success or error).|
|credits||The credit cost of the command.|
|time||The time it took to process the command.|