Skip to content

Audicin for Apps API (1.0.0)

Audicin for Apps API Authentication (REQUIRED)

All Audicin for Apps API endpoints require the X-API-KEY header.

Example:

X-API-KEY: xxxxxxxxx

Common error responses:

  • 401 → Missing or invalid API key
  • 402 → Subscription inactive / expired
  • 403 → License missing or quota exceeded
  • 404 → Resource not found
Languages
Servers
Generated server url
https://dev.api-b2b.audicin.com/api/v1
Operations
Operations
Operations

Generate presigned URLs for audio previews and full audios

Operations

Generate presigned preview audio URL

Request

Returns a presigned GET URL for a song preview

Security
api-key
Path
songPreviewIdstringrequired
curl -i -X GET \
  'https://dev.api-b2b.audicin.com/api/v1/tenants/stream/songPreview/{songPreviewId}' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
songIdstring
Example: "01HXZK9YF8A1B3C4D5E6F7G8H"
titlestring
Example: "My Song"
urlstring
Example: "https://example.com/get/abc"
methodstring
Example: "GET"
expiresInSecondsinteger(int32)
Example: 300
songDurationinteger(int32)
Example: 180
objectMetadataobject(TenantStorageObjectMetadataDTO)

Read-only object metadata

Response
application/json
{ "songId": "01HXZK9YF8A1B3C4D5E6F7G8H", "title": "My Song", "url": "https://example.com/get/abc", "method": "GET", "expiresInSeconds": 300, "songDuration": 180, "objectMetadata": { "contentType": "audio/mpeg", "size": 3456789 } }

Request

Returns a presigned GET URL

Security
api-key
Path
songIdstringrequired
curl -i -X GET \
  'https://dev.api-b2b.audicin.com/api/v1/tenants/stream/song/{songId}' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
songIdstring
Example: "01HXZK9YF8A1B3C4D5E6F7G8H"
titlestring
Example: "My Song"
urlstring
Example: "https://example.com/get/abc"
methodstring
Example: "GET"
expiresInSecondsinteger(int32)
Example: 300
songDurationinteger(int32)
Example: 180
objectMetadataobject(TenantStorageObjectMetadataDTO)

Read-only object metadata

Response
application/json
{ "songId": "01HXZK9YF8A1B3C4D5E6F7G8H", "title": "My Song", "url": "https://example.com/get/abc", "method": "GET", "expiresInSeconds": 300, "songDuration": 180, "objectMetadata": { "contentType": "audio/mpeg", "size": 3456789 } }
Operations
Operations