Create a Claude message
Request in Anthropic Claude Messages API format. The anthropic-version header is required.
POST
/v1/messages
Service root: https://getrouter.ai
Protocol: Anthropic Messages
Authentication: x-api-key: YOUR_API_KEY
Parameters
Request body
The request body is optional. Media type: application/json
Request fields
Example request
Responses
Success response fields
Example response
Related guide
For complete workflows and examples, read the Claude Messages API Guide.
This page is generated from the public Relay OpenAPI specification. Browse the complete specification in the API Explorer.
