cURL
curl --request GET \ --url https://www.getsnippets.ai/api/prompts/snippets \ --header 'Authorization: Bearer <token>'
200
Example
{ "success": true, "data": [ {} ], "usage": { "remainingRequests": 123, "usageDeducted": 123 }, "metadata": { "requestedCount": 123, "foundCount": 123, "accessibleCount": 123, "inaccessibleCount": 123, "missingCount": 123 }}
Retrieves multiple snippets by their IDs. API Cost: N requests (one per accessible snippet).
API key authentication using Bearer token. Include your API key in the Authorization header.
Comma-separated list of snippet IDs or JSON array
Snippets retrieved successfully
true
Show child attributes