API workflow

Before you start, make sure you have the following:

  • An MSL5 account and a valid Contract_ID for this MSL5 account.

📘

If you do not have a Contract_ID, please contact Akamai support.

  • At least one CP Tag for the selected contract.
    This information can be retrieved by using the "List CP Tag", API endpoint, which returns both Contract_ID and CP Tag values.
    If you have not created a CP Tag, you can create one using the "Create CP Tag" API endpoint. For more information, please refer to CP Tag.
  • A valid Group_ID for the selected Contract.
    Group IDs are imported from Akamai to MSL5 via SAML login. This information is available in the ☰ > Access Management >Group menu of your MSL5 user interface. For more information, please refer to Group.
  • A valid API token to access the API.
    This information is available in the ☰ > Access Management > API Token menu of your MSL5 user interface. If you do not have a token, you can use the procedure described in API Token to create one.

Follow these steps to use the MSL5 API:

  1. Create a new origin, using the Create origin server API endpoint.
  2. Create a stream, using the live origin you created using the Create stream API endpoint.
  3. (optional) You can add authentication for a stream using the Create ingest credential API endpoint.
  4. Create an event for the stream, using the Create an event API endpoint.