Overview
The user query is designed to fetch details associated with a specific user id.
Arguments
id
is an optional argument. Not passing an ID to this query will return user details for the
owner of the API key
Schema
Fields available to the User query
Usage Example
curl -X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your_api_key" \
--data '{ "query": "query User($userId: String!) { user(id: $userId) { name integrations } }", "variables": { "userId": "your_user_id" } }' \
https://api.fireflies.ai/graphql
{
"data": {
"user": {
"name": "Justin Fly",
"integrations": ["string"],
}
}
}
Error Codes
List of possible error codes that may be returned by the user
query. Full list of error codes can be found here.
The user ID you are trying to query does not exist.
This may indicate that you are not a part of any team. Please contact support if you encounter this error
The user ID you are trying to query is not in your team.
Additional Resources