Quickstart

Your first tagging call in 5 minutes — copy/paste friendly.

This guide takes you from zero to MusiTag taxonomy tags in about five minutes. You will obtain an access token, upload a WAV file to your organisation inbound storage, and run live tagging with POST /v1/audio/tagging.

Before you start
  • A MusiMap client ID and client secret from the developers dashboard.
  • A short audio file (for example demo.wav) to upload via presigned PUT.
S3 only in V1

Live tagging accepts only s3_file_uri. Remote HTTP URLs, YouTube links, multipart uploads, and raw file bytes through the gateway are not supported. See Tagging for the full contract.

1Get your credentials

Export your OAuth client credentials as environment variables:

{% include "msm_ui/components/code_block.html" with code="MUSIMAP_CLIENT_ID=your-client-id MUSIMAP_CLIENT_SECRET=your-client-secret" language="bash" %}

2Obtain an access token

Exchange client credentials for a bearer token at POST /oauth/token. Request scopes for storage upload and live tagging.

curl -X POST https://api.musimap.com/oauth/token \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'grant_type=client_credentials' \
  -d 'client_id=YOUR_CLIENT_ID' \
  -d 'client_secret=YOUR_CLIENT_SECRET' \
  -d 'scope=audio.tagging.write storage.write'

3Upload audio to inbound storage

Request a presigned PUT URL, upload your file, then note the full s3://… URI for tagging. Details are in Storage.

curl -X POST https://api.musimap.com/v1/storage/inbound/uploads \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"object_key": "live-tests/demo.wav", "content_type": "audio/wav"}'

PUT the file bytes to the returned upload_url, then continue with the S3 URI from the response.

4Run live MusiTag tagging

Call POST /v1/audio/tagging with your authorised S3 URI. The response returns final taxonomy tags immediately. Live results are not persisted as catalogue tracks.

curl -X POST https://api.musimap.com/v1/audio/tagging \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{
    "s3_file_uri": "s3://your-org-bucket/inbound/live-tests/demo.wav"
  }'
That is your first API call

For catalogue workflows, continue with Ingestions and read stored tags with GET /v1/audio/tagging/results. Browse the full contract in OpenAPI.

Where to go next