Authentication

Using the Meshy API requires authentication. This guide will show you how to create an account and API keys.


Creating a Meshy Account

Meshy API requires you to have a Meshy account to create and manage API keys. If a request is made to the API without an API key, the API will respond with an invalid credentials error.

You can create a Meshy account by visiting the Meshy website and sign up.


Creating API Keys

Once you have created a Meshy account, you can create API keys by visiting the API page.

You can create multiple API keys for different purposes. For example, you can create one API key for your iOS app and another for your web app. The usage of each API key is tracked separately, and you can revoke them at any time.

To create an API key, click on the Create API Key button on the API page, and then enter a name for your API key.

Once you have created an API key, you will be shown the API key value. You can copy the API key value and store it in a secure location.

You will not be able to see the API key value again.


Using API Keys

Once you have created an API key, you can use it to authenticate your requests to the Meshy API. You can pass your API key to the API in the Authorization header, an example header is shown below.

{
  "Authorization": "Bearer msy_sOmEbOgUsApIkEyFoReXaMpLe1234567890"
}