Musement API

The Musement API Developer Hub

Welcome to the Musement API developer hub. You'll find comprehensive guides and documentation to help you start working with Musement API as quickly as possible, as well as support if you get stuck. Let's jump right in!

Subscribe to the Musement API Docs Newsletter

API Reference

Swagger definition

Guides    API Reference

Registration & Login

Here in this document is described the flow for a Supplier to upload and manage his activities on Musement using our REST API services.

To start creating and editing activities on Musement you need to be a registered Supplier. A Supplier is the issuer or the organiser of the activity sold on Musement platform after this entity agreed to an economic deal with Musement.

Registration

POST /supplier-registrations

To register a new supplier you need to post a set of data to this endpoint. Remember that the Supplier just created will be NOT ACTIVE. To activate the Supplier, you need to get the confirmation-token from the response and send it to the next call.

Activation

POST /suppliers/{supplier_uuid}/activate

This call is used to activate a Supplier that has been previously created via API. Just send the confirmation-token and wait for a positive response. At this point the Supplier is active and can start creating activities.

When you are ready to create activities on Musement the first thing to do is login with the Supplier's credentials.

Login (oAuth 2.0 standard)

GET /login

To authenticate your user you need to pass these GET parameters to the call:

  • client_id={application_client_id}
  • client_secret={application_client_secret}
  • grant_type=pasword
  • client_type=supplier
  • username={supplier_username}
  • password={supplier_pasword}

Example:

/login?client_id=26_3ivb6s34alk4yjr56u7yhuybtrrrtykki8o0wk808ck00kc&client_secret= 4tyr45eh6jkuhluniyu7555yigkkwcc0o448cwscck0804s8&grant_type=password&client_type=supplier&username=MySupplier&password=Mypassword

If you get a positive response you will have an access_token that you must use in each of the following calls as a value of the Header "Authorization".
For example: "Authorization : Bearer {your_token}"

Registration & Login


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.