Storm docs logo
Search the docs.../
Explore Storm Products

Alias Create

Creates a new stream key alias for an application. Can also be used to overwrite an existing alias.

Request

PropertyValue
MethodPOST
URL/api/applications/{appName}/aliases
Content-Typeapplication/json
AuthenticationBearer Token
Request
Code iconbash
curl -X POST "{BASE_URL}/api/applications/{appName}/aliases" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"key": "value"}'

Path Parameters

ParameterTypeRequiredDescription
appNamestringYesApplication name
Request
Code iconbash
curl -X POST "{BASE_URL}/api/applications/{appName}/aliases" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"

Request Body

ParameterTypeRequiredDescription
data.attributes.aliasNamestringYesAlias key (alternative name for the stream)
data.attributes.streamKeystringYesTarget stream key that the alias points to

Example Request

Code iconjson
{
  "data": {
    "attributes": {
      "aliasName": "aliasName",
      "streamKey": "streamKey"
    }
  }
}

Response Body

Alias Object

ParameterTypeDescription
data.attributes.aliasNamestringAlias key (alternative name for the stream)
data.attributes.streamKeystringTarget stream key that the alias points to
data.attributes.isPermanentbooleanIndicates if the alias is permanent
data.attributes.streamExistsbooleanIndicates if the target stream currently exists
messagestringResponse status message

Metadata

ParameterTypeDescription
meta.executionTimeintegerRequest processing time in milliseconds
meta.generatedAtintegerResponse generation timestamp (Unix timestamp in ms)
Successful Response (201)
Code iconjson
{
  "data": {
    "attributes": {
      "aliasName": "aliasName",
      "streamKey": "streamKey",
      "isPermanent": true,
      "streamExists": false
    }
  },
  "meta": {
    "executionTime": 13,
    "generatedAt": 1766063439641
  },
  "message": "New Alias has been added"
}

Error Responses

Application Not Found (404)

ParameterTypeDescription
messagestringHuman-readable error message
Code iconjson
{
  "message": "Application not found"
}
Support Needed?

Create a free ticket and our support team will provide you necessary assistance.

Blog
Support
About us
Patents
Term of use
Privacy policy
Contact
©2026 Storm Streaming Media. All Rights Reserved.