beta/
docs
/
overview
OverviewGuidesAPI Reference
Log inSign up
beta/
docs
/
overview
OverviewGuidesAPI Reference
Sign upLogin
API Reference
Introduction
Stream
The stream object
API Key

API Key

Create and manage your API keys in the Livepeer.com dashboard. Learn more here.

Keep your keys safe. They are not retrievable through the Livepeer.com dashboard once created. Consider using a password manager or secrets management tool.

The api-token object represents an API key. You can also retrieve the api-token object to get an API key’s attributes.

curl -H 'authorization: Bearer <api-key>' \
"https://livepeer.com/api/api-token/<api-key>"

200 OK

{
"id":"<api-key>",
"kind":"api-token",
"name":"test-api-key",
"userId":"xxxxxxxx-xxxx-xxxx-xxxx-xxxx",
"lastSeen":1596874088,
"createdAt":1595721600
}

Attributes

ParameterTypeDescription
createdAtnumberTimestamp when the api-token object was created. Reported in Unix epoch time.
idstringUnique Livepeer.com API key.
kindstringLivepeer.com API object type.
lastSeennumberTimestamp when the api-token object was last active. Reported in Unix epoch time. An active livestream means segments are being ingested.
namestringAdditional identifier for the asset set in the Livepeer.com dashboard. Often set to a human readable string.
userIdstringUnique identifier for the Livepeer.com user account that created the api-token object.
Livepeer.com
beta
  • Company
  • Home
  • Contact
  • Team
  • Jobs
  • Livepeer, Inc.
  • 223 Bedford Ave PMB 530
    Brooklyn, NY 11211
  • [email protected]