Logo
Akamai APIs API Documentation

Contract API

Number of APIs: 5


Use the Contract API to access details on your organization's Akamai contracts, including associated products and reporting groups contributing to the billing system.

Note: Contracts are important low-level objects on which other services depend. You will need them, for example, when working with the Billing or Invoicing API.

Authentication

Create an authentication credential that contains the client token and client secret required to authenticate Akamai API requests.

  1. Navigate to the Identity and Access Management section of Akamai Control Center and click Create API Client.

Note: If you don't have access to the Identity and Access Management tool, contact your local Akamai Control Center admin or your Akamai account team for assistance.

  1. Click Quick and then Download in the Credentials section.

Note: If you need to refine access levels or permissions, see Create a client with custom permissions.

  1. Open the downloaded file with a text editor and add [default] as a header above all text.
  [default]
  client_secret = C113nt53KR3TN6N90yVuAgICxIRwsObLi0E67/N8eRN=
  host = akab-h05tnam3wl42son7nktnlnnx-kbob3i3v.luna.akamaiapis.net
  access_token = akab-acc35t0k3nodujqunph3w7hzp7-gtm6ij
  client_token = akab-c113ntt0k3n4qtari252bfxxbsl-yvsdj
  1. Fork the [Akamai Authentication] environment, populate the variables, and [set it for your workspace]

Integration methods

You can use this API collection in these integration methods: - API


1. Reporting groups - List CP code reporting group IDs

GET https://{{host}}/contract-api/v1/reportingGroups/identifiers



2. Reporting groups - List CP code reporting groups

GET https://{{host}}/contract-api/v1/reportingGroups



3. Contracts - List contracts

GET https://{{host}}/contract-api/v1/contracts/identifiers



4. Products - List products per contract

GET https://{{host}}/contract-api/v1/contracts/:contractId/products/summaries



5. Products - List products per reporting group

GET https://{{host}}/contract-api/v1/reportingGroups/:reportingGroupId/products/summaries



ENDPOINTS