Quickstart for MuleRouter API
Get started with the MuleRouter API in a few simple steps.
1. Become a Creator
You can follow this guide to register as a Creator.
2. Create an API Key
In the MuleRun Creator Studio, open the API Keys tab and click “Create”. Store your API key securely after creation.
3. Use the API Key
Use the API key to send requests to the MuleRouter API. For example, generate text with the OpenAI Chat Completions endpoint:
curl --request POST \
--url https://api.mulerun.com/v1/chat/completions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{\n "model": "gpt-5",\n "messages": [\
{\
"role": "system",\
"content": "You are a helpful assistant."\
},\
{\
"role": "user",\
"content": "Hello! How are you?"\
}\
]\n}'
For further documentation, please refer to the MuleRun documentation.