Browse the help center

List a site's invocation codes

Lists the site's placements, grouped by zone, each with the invocation-code types the caller may generate for it.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/sites/{siteId}/invocation-codes.do

Lists the site's placements, grouped by zone, each with the invocation-code types the caller may generate for it. Deleted zones and placements are left out. The types are those the placement type offers minus those the caller lacks the per-type invocation-code permission for; fetch a code with GET /rest-api/placements/{placementId}/invocation-code. Requires VIEW access to the site's inventory (ALL, or SHARED with a share on the site).

Path Params

siteId integer required

Site ID

5001

Query Params

limit integer

Placements per page, 1 to 1000

50

start integer

Offset of the first placement returned

0

Responses

200

{success, total, data:[{zoneId, zoneName, placementId, placementName, placementType, codeTypes}]}

400

start or limit out of range

401

Authentication error

403

No VIEW access to the site

404

Site not found or deleted

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.