emojis
table.
Authentication
This endpoint requires authentication via bearer token representing a valid user session managed by Supabase Auth (cookies).Testing Note: Requires user session.
Request
Bearer token for authentication. Format:
Bearer YOUR_JWT_TOKEN
Response
HTTP status code (e.g., 200).
A descriptive message about the result (e.g., “Emojis retrieved successfully”).
The emoji data object from the
emojis
table.Error Codes
Status Code | Description | Example Message |
---|---|---|
401 | Invalid or missing authentication token. | ”Not authorized” |
500 | Internal server error during processing. | ”Failed to get emojis” |
500 | Database error during fetch. | Specific DB error |
Notes
- Retrieves the emoji configuration for the authenticated user.
- Assumes an
emojis
table exists.
Code Examples
Headers
Bearer token for authentication (JWT)