Users
List users
Retrieve a paginated list of users in your project. Users are sorted by creation date (newest first).
Authorization
ApiKeyAuth SecretKeyAuth x-notiflows-api-key<token>
Your project's public API key. Found in Project Settings. Starts with pk_.
In: header
x-notiflows-secret-key<token>
Your project's secret key. Found in Project Settings. Starts with sk_. Keep this secret!
In: header
Query Parameters
after?string
Cursor for fetching the next page
before?string
Cursor for fetching the previous page
limit?integer
Number of items per page (default: 25, max: 1000)
created_after?string
Filter users created after this datetime (ISO 8601)
created_before?string
Filter users created before this datetime (ISO 8601)
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.notiflows.com/admin/users?created_after=2024-01-01T00%3A00%3A00Z&created_before=2024-12-31T23%3A59%3A59Z"{
"items": [
{
"avatar": "https://example.com/avatars/jane.jpg",
"created_at": "2024-01-15T10:30:00Z",
"custom_fields": {
"company": "Acme Inc",
"plan": "premium"
},
"email": "jane.doe@example.com",
"external_id": "user_12345",
"first_name": "Jane",
"id": "01HQXYZ123456789ABCDEFGHIJ",
"last_name": "Doe",
"locale": "en-US",
"phone": "+15551234567",
"timezone": "America/New_York",
"updated_at": "2024-01-20T14:45:00Z"
}
],
"page": {
"after": "eyJpZCI6IjAxSFFYWVoxMjM0NTY3ODlBQkNERUZHSElKIn0=",
"before": null,
"has_more_after": true,
"has_more_before": false,
"limit": 25
}
}{
"error": {
"code": "not_found",
"details": {
"allowed_statuses": [
"string"
],
"allowed_transitions": [
"string"
],
"auth": "api_key",
"current_status": "string",
"fields": [
{
"field": "email",
"message": "can't be blank",
"reason": "required"
}
],
"id": "string",
"idempotency_key": "string",
"limit": 0,
"param": "string",
"reason": "string",
"required_scope": "string",
"resource": "string",
"retry_after": 0,
"window": "string"
},
"message": "User not found",
"request_id": "req_abc123",
"status": 404,
"type": "https://docs.notiflows.com/errors/not_found"
}
}{
"error": {
"code": "not_found",
"details": {
"allowed_statuses": [
"string"
],
"allowed_transitions": [
"string"
],
"auth": "api_key",
"current_status": "string",
"fields": [
{
"field": "email",
"message": "can't be blank",
"reason": "required"
}
],
"id": "string",
"idempotency_key": "string",
"limit": 0,
"param": "string",
"reason": "string",
"required_scope": "string",
"resource": "string",
"retry_after": 0,
"window": "string"
},
"message": "User not found",
"request_id": "req_abc123",
"status": 404,
"type": "https://docs.notiflows.com/errors/not_found"
}
}{
"error": {
"code": "not_found",
"details": {
"allowed_statuses": [
"string"
],
"allowed_transitions": [
"string"
],
"auth": "api_key",
"current_status": "string",
"fields": [
{
"field": "email",
"message": "can't be blank",
"reason": "required"
}
],
"id": "string",
"idempotency_key": "string",
"limit": 0,
"param": "string",
"reason": "string",
"required_scope": "string",
"resource": "string",
"retry_after": 0,
"window": "string"
},
"message": "User not found",
"request_id": "req_abc123",
"status": 404,
"type": "https://docs.notiflows.com/errors/not_found"
}
}{
"error": {
"code": "not_found",
"details": {
"allowed_statuses": [
"string"
],
"allowed_transitions": [
"string"
],
"auth": "api_key",
"current_status": "string",
"fields": [
{
"field": "email",
"message": "can't be blank",
"reason": "required"
}
],
"id": "string",
"idempotency_key": "string",
"limit": 0,
"param": "string",
"reason": "string",
"required_scope": "string",
"resource": "string",
"retry_after": 0,
"window": "string"
},
"message": "User not found",
"request_id": "req_abc123",
"status": 404,
"type": "https://docs.notiflows.com/errors/not_found"
}
}