docs/en/api-reference/introduction.mdx
Welcome to the CrewAI AMP API reference. This API allows you to programmatically interact with your deployed crews, enabling integration with your applications, workflows, and services.
All API requests require authentication using a Bearer token. Include your token in the Authorization header:
curl -H "Authorization: Bearer YOUR_CREW_TOKEN" \
https://your-crew-url.crewai.com/inputs
| Token Type | Scope | Use Case |
|---|---|---|
| Bearer Token | Organization-level access | Full crew operations, ideal for server-to-server integration |
| User Bearer Token | User-scoped access | Limited permissions, suitable for user-specific operations |
Each deployed crew has its own unique API endpoint:
https://your-crew-name.crewai.com
Replace your-crew-name with your actual crew's URL from the dashboard.
GET /inputs to understand what your crew needsPOST /kickoff to start processingGET /{kickoff_id}/status until completionThe API uses standard HTTP status codes:
| Code | Meaning |
|---|---|
200 | Success |
400 | Bad Request - Invalid input format |
401 | Unauthorized - Invalid bearer token |
404 | Not Found - Resource doesn't exist |
422 | Validation Error - Missing required inputs |
500 | Server Error - Contact support |
Each endpoint page shows you:
Example workflow:
your-actual-crew-name.crewai.com with your real crew URL