API quickstart
Create an API token and make your first Marketplace Platform API request.
Marketplace Platform REST APIs provide programmatic access to accounts, orders, subscriptions, billing, notifications, and other Marketplace resources.
Use this guide to create an API token and make your first API call.
Generate an API token
Marketplace Platform APIs use API tokens for authentication.
To create a token:
Sign in to your Marketplace account.
Open the main menu, then go to Settings > API tokens.
Select Add.
Complete the Add API token workflow. For detailed instructions, see Create API token.
Copy the token value.
Make your first API request
Once you have your API token, send a request to one of the available endpoints.
All Marketplace Platform API endpoints use the following base URL:
https://api.platform.softwareone.comThe following example uses the Accounts API to retrieve a list of buyers in your account.
Send a GET request to the /public/v1/accounts/buyers endpoint:
GET https://api.platform.softwareone.com/public/v1/accounts/buyers
Authorization: Bearer {TOKEN_VALUE}
Accept: application/jsonReview the response
If the request succeeds, the API returns a 200 OK response and a list of buyers in the response body.
If the access token is invalid, the API returns 401 Unauthorized.
If the token doesn't have permission to access the endpoint, the API returns 403 Forbidden. Note that access to this endpoint depends on the account type associated with the token, rather than the enabled modules. The token must belong to a client or ops account.
For more HTTP status codes, see Error handling.
Continue building with Marketplace Platform APIs
After successfully authenticating, you can use the same API token to access other Marketplace APIs. Choose a common integration scenario to continue building with the platform.
Last updated
Was this helpful?