API Documentation
API Keys
Describes the mainnet and tesnet enviorments
For integrating Layerswap, partners should register in the Dashboard and set up an organization.
Each partner account can create an organization and app(s) within that organization. The organization serves as a logical grouping for multiple associated apps. The app stores all the partner-related information like API keys for programmatic access, webhooks, and other configurations that are needed for the integration and customizations.
Register as a Partner
- Go to https://layerswap.io/dashboard and register
- Create an organization & app under the organization
- Go to the newly created app and copy the API key
Client Id is used for embedded form or Layerswap-hosted page.
API Key is used for accessing API and should be stored privately.
Enviorments
Dashboard will give you two types of API keys: Mainnet and Testnet. Respectively, if you use the Mainnet API key, you will get only mainnet networks, and the same applies to testnets.
Was this page helpful?