Monarch GraphQL
Unofficial auto-generated documentation for the Monarch GraphQL schema.
API Endpoint
https://api.monarch.com/graphql
Authentication
All requests require a Token authorization header:
Authorization: Token YOUR_MONARCH_TOKEN
Example Requests
Verify your connection:
curl -X POST https://api.monarch.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Token YOUR_MONARCH_TOKEN" \
-d '{"query": "{ me { id name email } }"}'
Get all accounts:
curl -X POST https://api.monarch.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Token YOUR_MONARCH_TOKEN" \
-d '{"query": "{ accounts { id displayName currentBalance type { name } } }"}'
Prompt
Copy and paste this prompt to give an agent context on the Monarch GraphQL API:
Monarch GraphQL API
Endpoint: https://api.monarch.com/graphql
Authorization: Token YOUR_MONARCH_TOKEN
Schema references:
- GraphQL SDL: https://monarch-graphql.ajzbc.com/schema.graphql
- Introspection JSON: https://monarch-graphql.ajzbc.com/schema.json
- Documentation: https://monarch-graphql.ajzbc.com
Example request:
curl -X POST https://api.monarch.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Token YOUR_MONARCH_TOKEN" \
-d '{"query": "{ me { id name email } }"}'