alias OpenAPI

API Reference

Whether you're a seasoned developer or just starting out, this reference can help you build applications that integrate with the marketplace.

The alias OpenAPI specification is designed to adhere to the RESTful principles of predictable resource oriented URLs. It also uses standard HTTP response codes and verbs while encoding all responses in JSON. For each endpoint, you’ll find:

  • Detailed descriptions that explain how each API works
  • Code samples that show how to use the APIs in different programming languages
  • Troubleshooting tips that can help you resolve common problems

Authentication

Every request to this API must be authenticated using bearer authentication and authorized using personal access tokens. This means that you must include a valid bearer token in the Authorization header of your request and the token must be one that you have been granted access to through the token manager.

Bearer Authentication
Bearer authentication is a method of granting access to an API using a token called a bearer token. The bearer token is a short string that is issued to a user or application after they have successfully authenticated. The bearer token is then used to make requests to the API, and the server will complete the request if the bearer token is valid. To use bearer authentication, you will need to create a bearer token and then send it to the API in the Authorization header of your request as shown on the right.
Personal Access Tokens
Personal access tokens (PATs) are a type of bearer token that can be used to grant access to an API to an application. PATs are issued to a specific user and application, and they do not need to be refreshed. This makes them ideal for applications that need to access our API frequently. To create a PAT, you will need to go to the token manager page. You will be asked to provide a name for the PAT and select the scopes that the PAT will have access to. Once you have created the PAT, you will be able to view it in the dashboard. To use a PAT, you will need to include it in the Authorization header of your request. The format of the Authorization header is shown on the right.

Authenticated Request

Versioning

Current: v1.3.6

The API follows Semantic Versioning. This means that each release will have a version number in the form MAJOR.MINOR.PATCH. We can expect breaking changes during the beta stage of the API.

Major Version
The major version number is incremented when there is a major change to the API. This could be a change in the underlying data model, a change in the way the API works, or a change in the way the API is accessed.
Minor Version
The minor version number is incremented when there is a backwards-compatible change to the API. This could be a new feature, a bug fix, or a minor change to the way the API works.
Patch Version
The patch version number is incremented when there is a backwards-compatible bug fix.
Changes
The API will be updated on a regular basis. The following are some of the changes that may be made:
  • New Features
  • Bug fixes
  • Minor changes to the way the API works

Errors

alias OpenAPI uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a resource cannot be found, another process is modifying the resource, etc.). Codes in the 5xx range indicate an error with our servers.

4xx errors that can be handled programmatically include an error code that briefly explains the error reported, as well as a generally helpful error message. It is recommended to handle these errors based off of the error code returned, and not the error message. Error messages can change between versions and may be translated based off of language preferences, but error codes will remain consistent between versions.

HTTP Status Code Summary

200 - OK
Everything worked as expected.
400 - Bad Request
The request was unacceptable, often due to missing a required parameter or malformed request
401 - Unauthorized
No valid API key provided.
402 - Request Failed
The parameters were valid but the request failed.
403 - Forbidden
The PAT token doesn't have permissions to perform the request.
404 - Not Found
The requested resource doesn't exist.
409 - Conflict
The request conflicts with another request or process. This generally happens when you are attempting to modify a resource already being modified by another process.
429 - Too Many Requests
Too many requests hit the API too quickly. If you require a higher rate limit to support your use cases, please reach out to support detailing your request.
500, 502, 503, 504 - Server Errors
Something is wrong with our servers, please try again later or contact support

Request IDs

Request IDs are universally unique IDs that can be used to identify a request. We often use these IDs to help resolve any issues and to track the historical status and resolution of a request. Request IDs can be retrieved from the standard x-request-id response header returned after each request.

If you file a support ticket or reach out our support email, please include any relevant request IDs to help us facilitate a prompt and accurate response to your question or issue.

Print request ID