Create an Artist API Key
This page documents the API endpoint for creating a new API key for artists on the In Process protocol.
Overview
Artists can create API keys in two ways:
- Programmatically - Using the API endpoint documented below
- Via Web Interface - Using the In Process API Keys Management Site
The web interface provides a user-friendly way to create, view, and manage an artist API keys without writing code.
Endpoint
POST https://inprocess.world/artists/api-keysAuthentication
Include a Privy access token in the Authorization header as a Bearer token:
Authorization: Bearer <accessToken>Note: This endpoint requires a Privy access token for authentication. Privy access tokens are obtained through the Privy authentication flow and provide secure access to artist-specific API endpoints. For more information about Privy authentication, see the Privy documentation.
Request Body
Send a JSON object with the following fields:
{
"key_name": "string" // Name for the API key
}Body Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| key_name | string | Yes | A descriptive name for the API key |
Example Requests
cURL
curl -X POST https://inprocess.world/artists/api-keys \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your_access_token_here" \
-d '{
"key_name": "My Production API Key"
}'Example Response
{
"key": "art_sk_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}Response Fields
| Name | Type | Description |
|---|---|---|
| key | string | The generated API key for the artist |