Service requests
List service requests
GEThttps://api.profieldx.com/v1/service-requests
Lists the organization's service requests, from newest to oldest, in pages of up to 100 items. For the next page, send the nextCursor of the response as cursor; hasMore tells whether there are more. includeTotal=true also returns the total for the filters. The status filter accepts received, triaging, awaiting_information, approved, declined, cancelled and converted. Public-form requests held by the team as possible spam do not appear.
Parameters
| Field | Description |
|---|---|
cursorOptionalSent in: Querystring | Value of |
limitOptionalSent in: Queryinteger (1–100) | Number of items per page, from 1 to 100. |
includeTotalOptionalSent in: Queryboolean | When |
filterOptionalSent in: Queryarray of string | Repeat this parameter to combine filters (AND). Format:
For Example: |
Accept-LanguageOptionalSent in: Header"pt-BR" | "en-US" | Language of the error Allowed values: |
Example
Example values (names, addresses, descriptions) appear in Portuguese, the way customers in Brazil enter them.
More languages
curl
curl -X GET 'https://api.profieldx.com/v1/service-requests' \
-H "Authorization: Bearer $PROFIELDX_KEY"- The samples show the call and do not print the response.
- The key is read from the PROFIELDX_KEY environment variable.
Responses
- 200
A page of service requests.
Headers
X-RateLimit-Limit- The key's per-minute limit for this kind of call (read or register). Optional header: it is not sent with
401,403withBILLING_FEATURE_REQUIRED,413and503responses, and it may be missing from500responses. The429produced by the per-IP limit or the authentication-failure limit carries this header andX-RateLimit-Remainingwith the values of that limit, and does not carryX-RateLimit-Reset. X-RateLimit-Remaining- How many calls still fit in the current one-minute window. Optional header, with the same exceptions as
X-RateLimit-Limit: absent where it is absent, and present on the429of the per-IP limit or the authentication-failure limit, with the value of that limit. X-RateLimit-Reset- Seconds until the one-minute window starts again. Optional header, absent from the same responses as
X-RateLimit-Limitand also from the429of the per-IP limit or the authentication-failure limit: useRetry-Afterthere. X-Request-Id- Identifier of the request, equal to the
requestIdof errors; give it to support.
Example
{ "items": [ { "id": "0197c1b4-3a6e-7d18-8f27-4e5d6c7b8a91", "documentNumber": "000128-2026", "summary": "Ar-condicionado da recepção parou de resfriar", "customerId": "0197c1a0-7b1f-7c3e-8d2a-5b6c7d8e9f01", "serviceLocationId": "0197c1a0-9d40-7e21-a6f4-0c8b7a6d5e42", "activityTypeId": null, "activityTypeSnapshot": null, "dueAt": "2027-12-01T18:00:00-03:00", "customFields": { "equipamento": "Split 12.000 BTU" }, "workflowStageId": null, "workflowRevision": null, "status": "received", "statusNote": null, "informationRequested": null, "statusChangedAt": "2026-11-12T11:02:44Z", "createdAt": "2026-11-12T11:02:44Z", "updatedAt": "2026-11-12T11:02:44Z", "source": "internal", "requesterName": null, "requesterEmail": null, "requesterPhone": null, "requesterLocationDescription": null, "publicFormAnswers": [] } ], "nextCursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0xMS0xMFQwOTowNTozMSswMDowMCIsImlkIjoiMDE5N2MxYTAtN2IxZi03YzNlLThkMmEtNWI2YzdkOGU5ZjAxIn0", "hasMore": true, "totalCount": null }Response fields
Response fields 200Field Description itemsRequiredarray of IntegrationServiceRequestService requests on this page.
items[].idRequiredstring (uuid)UUIDv7 identifier of the service request.
items[].documentNumberRequiredstringReadable number within the organization, in the format 000001-2026.
items[].summaryRequiredstringSummary of the request.
items[].customerIdRequiredNullablestring (uuid)The request's customer, when provided.
items[].serviceLocationIdRequiredNullablestring (uuid)Service location, when provided.
items[].activityTypeIdRequiredNullablestring (uuid)Activity type, when provided.
items[].activityTypeSnapshotRequiredNullableobjectCopy of the activity type (name, description, instructions, duration and default due time) at the time of registration.
items[].dueAtRequiredNullablestring (date-time)Due date, with time zone, when set.
items[].customFieldsRequiredobjectAnswers to the organization's custom fields, by field key.
items[].workflowStageIdNullablestringCurrent stage in the workflow configured by the organization.
items[].workflowRevisionNullableintegerVersion of the workflow used for the current stage.
items[].statusRequired"received" | "triaging" | "awaiting_information" | "approved" | "declined" | "cancelled" | "converted"Status:
received,triaging,awaiting_information,approved,declined,cancelledorconverted.Allowed values:
received,triaging,awaiting_information,approved,declined,cancelled,converteditems[].statusNoteRequiredNullablestringReason recorded at the last decline or cancellation.
items[].informationRequestedRequiredNullablestringLast information requested by the team, if any.
items[].statusChangedAtRequiredstring (date-time)Date and time of the last status change.
items[].createdAtRequiredstring (date-time)Date and time of registration, with time zone.
items[].updatedAtRequiredstring (date-time)Date and time of the last change, with time zone.
items[].sourceRequiredstringSource:
internal(team, import or integration) orpublic_form(public form).items[].requesterNameRequiredNullablestringName of the person who asked through the public form.
items[].requesterEmailRequiredNullablestringEmail of the person who asked through the public form.
items[].requesterPhoneRequiredNullablestringPhone of the person who asked through the public form.
items[].requesterLocationDescriptionRequiredNullablestringLocation described by the person who asked through the public form.
items[].publicFormAnswersarray of IntegrationPublicFormAnswerAnswers given in the public form (only when reading a request of that source).
items[].publicFormAnswers[].keyRequiredstringKey of the question in the form.
items[].publicFormAnswers[].labelRequiredstringText of the question at the time of the answer.
items[].publicFormAnswers[].fieldTypeRequiredstringType of the question:
shortText,longText,number,date,boolean,singleSelectormultiSelect.items[].publicFormAnswers[].valueRequiredanyAnswer given, in the format of the question type.
items[].publicFormAnswers[].optionsarray of IntegrationIntakeOptionOptions the question offered, for choice questions.
items[].publicFormAnswers[].options[].valueRequiredstring (length 1–64)Value of the option, stored in the answer.
items[].publicFormAnswers[].options[].labelRequiredstring (length 1–100)Text of the option shown to the person answering.
nextCursorRequiredNullablestringCursor of the next page, to send in
cursor; null on the last page.hasMoreRequiredbooleanIndicates whether there are more items after this page.
totalCountRequiredNullableintegerExact total for the filters, returned only with includeTotal=true.
- 400
Invalid cursor (
INVALID_CURSOR).Headers
X-RateLimit-Limit- The key's per-minute limit for this kind of call (read or register). Optional header: it is not sent with
401,403withBILLING_FEATURE_REQUIRED,413and503responses, and it may be missing from500responses. The429produced by the per-IP limit or the authentication-failure limit carries this header andX-RateLimit-Remainingwith the values of that limit, and does not carryX-RateLimit-Reset. X-RateLimit-Remaining- How many calls still fit in the current one-minute window. Optional header, with the same exceptions as
X-RateLimit-Limit: absent where it is absent, and present on the429of the per-IP limit or the authentication-failure limit, with the value of that limit. X-RateLimit-Reset- Seconds until the one-minute window starts again. Optional header, absent from the same responses as
X-RateLimit-Limitand also from the429of the per-IP limit or the authentication-failure limit: useRetry-Afterthere. X-Request-Id- Identifier of the request, equal to the
requestIdof errors; give it to support.
Response fields
Response fields 400Field Description codeRequiredstringStable error code; decide by it, never by the message.
messageRequiredstringHuman-readable message; the text and the language may change.
detailsNullablearray of ValidationIssueProblems per field, when the error refers to specific inputs.
details[].fieldRequiredstringSource and camelCase path of the input, for example
body.scheduledEnd,body.items.0.quantityorquery.limit.details[].messageRequiredstringMessage in pt-BR, ready to show next to the field.
details[].codeRequiredstringStable code of the problem: REQUIRED, TOO_SHORT, TOO_LONG, TOO_FEW_ITEMS, TOO_MANY_ITEMS, TOO_SMALL, TOO_LARGE, INVALID_FORMAT, INVALID_TYPE, INVALID_CHOICE, UNKNOWN_FIELD, INVALID_JSON, TIMEZONE_REQUIRED, INVALID_VALUE or a rule-specific code (for example END_BEFORE_START, PAST_DUE_DATE).
requestIdNullablestringIdentifier of the request, equal to the
X-Request-Idheader; give it to support. - 401
Missing, malformed or unknown key (
UNAUTHENTICATED), revoked (API_KEY_REVOKED) or expired (API_KEY_EXPIRED).Headers
X-RateLimit-Limit- The key's per-minute limit for this kind of call (read or register). Optional header: it is not sent with
401,403withBILLING_FEATURE_REQUIRED,413and503responses, and it may be missing from500responses. The429produced by the per-IP limit or the authentication-failure limit carries this header andX-RateLimit-Remainingwith the values of that limit, and does not carryX-RateLimit-Reset. X-RateLimit-Remaining- How many calls still fit in the current one-minute window. Optional header, with the same exceptions as
X-RateLimit-Limit: absent where it is absent, and present on the429of the per-IP limit or the authentication-failure limit, with the value of that limit. X-RateLimit-Reset- Seconds until the one-minute window starts again. Optional header, absent from the same responses as
X-RateLimit-Limitand also from the429of the per-IP limit or the authentication-failure limit: useRetry-Afterthere. X-Request-Id- Identifier of the request, equal to the
requestIdof errors; give it to support.
Example
{ "code": "UNAUTHENTICATED", "message": "Authentication is required or invalid.", "requestId": "0197c1d2-8a2e-7f10-9c4b-3e5d6a7b8c90" }Response fields
Response fields 401Field Description codeRequiredstringStable error code; decide by it, never by the message.
messageRequiredstringHuman-readable message; the text and the language may change.
detailsNullablearray of ValidationIssueProblems per field, when the error refers to specific inputs.
details[].fieldRequiredstringSource and camelCase path of the input, for example
body.scheduledEnd,body.items.0.quantityorquery.limit.details[].messageRequiredstringMessage in pt-BR, ready to show next to the field.
details[].codeRequiredstringStable code of the problem: REQUIRED, TOO_SHORT, TOO_LONG, TOO_FEW_ITEMS, TOO_MANY_ITEMS, TOO_SMALL, TOO_LARGE, INVALID_FORMAT, INVALID_TYPE, INVALID_CHOICE, UNKNOWN_FIELD, INVALID_JSON, TIMEZONE_REQUIRED, INVALID_VALUE or a rule-specific code (for example END_BEFORE_START, PAST_DUE_DATE).
requestIdNullablestringIdentifier of the request, equal to the
X-Request-Idheader; give it to support. - 403
The key does not have the permission this operation needs (
PERMISSION_DENIED), or the organization's plan does not include the integration API (BILLING_FEATURE_REQUIRED).Headers
X-RateLimit-Limit- The key's per-minute limit for this kind of call (read or register). Optional header: it is not sent with
401,403withBILLING_FEATURE_REQUIRED,413and503responses, and it may be missing from500responses. The429produced by the per-IP limit or the authentication-failure limit carries this header andX-RateLimit-Remainingwith the values of that limit, and does not carryX-RateLimit-Reset. X-RateLimit-Remaining- How many calls still fit in the current one-minute window. Optional header, with the same exceptions as
X-RateLimit-Limit: absent where it is absent, and present on the429of the per-IP limit or the authentication-failure limit, with the value of that limit. X-RateLimit-Reset- Seconds until the one-minute window starts again. Optional header, absent from the same responses as
X-RateLimit-Limitand also from the429of the per-IP limit or the authentication-failure limit: useRetry-Afterthere. X-Request-Id- Identifier of the request, equal to the
requestIdof errors; give it to support.
Response fields
Response fields 403Field Description codeRequiredstringStable error code; decide by it, never by the message.
messageRequiredstringHuman-readable message; the text and the language may change.
detailsNullablearray of ValidationIssueProblems per field, when the error refers to specific inputs.
details[].fieldRequiredstringSource and camelCase path of the input, for example
body.scheduledEnd,body.items.0.quantityorquery.limit.details[].messageRequiredstringMessage in pt-BR, ready to show next to the field.
details[].codeRequiredstringStable code of the problem: REQUIRED, TOO_SHORT, TOO_LONG, TOO_FEW_ITEMS, TOO_MANY_ITEMS, TOO_SMALL, TOO_LARGE, INVALID_FORMAT, INVALID_TYPE, INVALID_CHOICE, UNKNOWN_FIELD, INVALID_JSON, TIMEZONE_REQUIRED, INVALID_VALUE or a rule-specific code (for example END_BEFORE_START, PAST_DUE_DATE).
requestIdNullablestringIdentifier of the request, equal to the
X-Request-Idheader; give it to support. - 422
Validation failure (
VALIDATION_ERROR, withdetailsper field) or invalid collection parameters (INVALID_COLLECTION_QUERY).Headers
X-RateLimit-Limit- The key's per-minute limit for this kind of call (read or register). Optional header: it is not sent with
401,403withBILLING_FEATURE_REQUIRED,413and503responses, and it may be missing from500responses. The429produced by the per-IP limit or the authentication-failure limit carries this header andX-RateLimit-Remainingwith the values of that limit, and does not carryX-RateLimit-Reset. X-RateLimit-Remaining- How many calls still fit in the current one-minute window. Optional header, with the same exceptions as
X-RateLimit-Limit: absent where it is absent, and present on the429of the per-IP limit or the authentication-failure limit, with the value of that limit. X-RateLimit-Reset- Seconds until the one-minute window starts again. Optional header, absent from the same responses as
X-RateLimit-Limitand also from the429of the per-IP limit or the authentication-failure limit: useRetry-Afterthere. X-Request-Id- Identifier of the request, equal to the
requestIdof errors; give it to support.
Response fields
Response fields 422Field Description codeRequiredstringStable error code; decide by it, never by the message.
messageRequiredstringHuman-readable message; the text and the language may change.
detailsNullablearray of ValidationIssueProblems per field, when the error refers to specific inputs.
details[].fieldRequiredstringSource and camelCase path of the input, for example
body.scheduledEnd,body.items.0.quantityorquery.limit.details[].messageRequiredstringMessage in pt-BR, ready to show next to the field.
details[].codeRequiredstringStable code of the problem: REQUIRED, TOO_SHORT, TOO_LONG, TOO_FEW_ITEMS, TOO_MANY_ITEMS, TOO_SMALL, TOO_LARGE, INVALID_FORMAT, INVALID_TYPE, INVALID_CHOICE, UNKNOWN_FIELD, INVALID_JSON, TIMEZONE_REQUIRED, INVALID_VALUE or a rule-specific code (for example END_BEFORE_START, PAST_DUE_DATE).
requestIdNullablestringIdentifier of the request, equal to the
X-Request-Idheader; give it to support. - 429
Usage limit exceeded (
RATE_LIMITED); wait the number of seconds inRetry-After. When the limit is the key's per-minute limit or the organization's daily limit,detailscarries an item withfieldequal toscopeandcodeequal tominuteorday; the per-IP limit and the authentication-failure limit do not carrydetails.Headers
X-RateLimit-Limit- The key's per-minute limit for this kind of call (read or register). Optional header: it is not sent with
401,403withBILLING_FEATURE_REQUIRED,413and503responses, and it may be missing from500responses. The429produced by the per-IP limit or the authentication-failure limit carries this header andX-RateLimit-Remainingwith the values of that limit, and does not carryX-RateLimit-Reset. X-RateLimit-Remaining- How many calls still fit in the current one-minute window. Optional header, with the same exceptions as
X-RateLimit-Limit: absent where it is absent, and present on the429of the per-IP limit or the authentication-failure limit, with the value of that limit. X-RateLimit-Reset- Seconds until the one-minute window starts again. Optional header, absent from the same responses as
X-RateLimit-Limitand also from the429of the per-IP limit or the authentication-failure limit: useRetry-Afterthere. X-Request-Id- Identifier of the request, equal to the
requestIdof errors; give it to support. Retry-After- Seconds to wait before repeating the call.
Example
{ "code": "RATE_LIMITED", "message": "The request limit was exceeded. Try again later.", "details": [ { "field": "scope", "message": "O limite por minuto desta chave foi excedido.", "code": "minute" } ], "requestId": "0197c1d2-8a2e-7f10-9c4b-3e5d6a7b8c90" }Response fields
Response fields 429Field Description codeRequiredstringStable error code; decide by it, never by the message.
messageRequiredstringHuman-readable message; the text and the language may change.
detailsNullablearray of ValidationIssueProblems per field, when the error refers to specific inputs.
details[].fieldRequiredstringSource and camelCase path of the input, for example
body.scheduledEnd,body.items.0.quantityorquery.limit.details[].messageRequiredstringMessage in pt-BR, ready to show next to the field.
details[].codeRequiredstringStable code of the problem: REQUIRED, TOO_SHORT, TOO_LONG, TOO_FEW_ITEMS, TOO_MANY_ITEMS, TOO_SMALL, TOO_LARGE, INVALID_FORMAT, INVALID_TYPE, INVALID_CHOICE, UNKNOWN_FIELD, INVALID_JSON, TIMEZONE_REQUIRED, INVALID_VALUE or a rule-specific code (for example END_BEFORE_START, PAST_DUE_DATE).
requestIdNullablestringIdentifier of the request, equal to the
X-Request-Idheader; give it to support. - 500
Unexpected internal error (
INTERNAL_ERROR); give therequestIdto support.Headers
X-RateLimit-Limit- The key's per-minute limit for this kind of call (read or register). Optional header: it is not sent with
401,403withBILLING_FEATURE_REQUIRED,413and503responses, and it may be missing from500responses. The429produced by the per-IP limit or the authentication-failure limit carries this header andX-RateLimit-Remainingwith the values of that limit, and does not carryX-RateLimit-Reset. X-RateLimit-Remaining- How many calls still fit in the current one-minute window. Optional header, with the same exceptions as
X-RateLimit-Limit: absent where it is absent, and present on the429of the per-IP limit or the authentication-failure limit, with the value of that limit. X-RateLimit-Reset- Seconds until the one-minute window starts again. Optional header, absent from the same responses as
X-RateLimit-Limitand also from the429of the per-IP limit or the authentication-failure limit: useRetry-Afterthere. X-Request-Id- Identifier of the request, equal to the
requestIdof errors; give it to support.
Response fields
Response fields 500Field Description codeRequiredstringStable error code; decide by it, never by the message.
messageRequiredstringHuman-readable message; the text and the language may change.
detailsNullablearray of ValidationIssueProblems per field, when the error refers to specific inputs.
details[].fieldRequiredstringSource and camelCase path of the input, for example
body.scheduledEnd,body.items.0.quantityorquery.limit.details[].messageRequiredstringMessage in pt-BR, ready to show next to the field.
details[].codeRequiredstringStable code of the problem: REQUIRED, TOO_SHORT, TOO_LONG, TOO_FEW_ITEMS, TOO_MANY_ITEMS, TOO_SMALL, TOO_LARGE, INVALID_FORMAT, INVALID_TYPE, INVALID_CHOICE, UNKNOWN_FIELD, INVALID_JSON, TIMEZONE_REQUIRED, INVALID_VALUE or a rule-specific code (for example END_BEFORE_START, PAST_DUE_DATE).
requestIdNullablestringIdentifier of the request, equal to the
X-Request-Idheader; give it to support. - 503
Service temporarily unavailable, including
RATE_LIMIT_STORE_UNAVAILABLE.Headers
X-RateLimit-Limit- The key's per-minute limit for this kind of call (read or register). Optional header: it is not sent with
401,403withBILLING_FEATURE_REQUIRED,413and503responses, and it may be missing from500responses. The429produced by the per-IP limit or the authentication-failure limit carries this header andX-RateLimit-Remainingwith the values of that limit, and does not carryX-RateLimit-Reset. X-RateLimit-Remaining- How many calls still fit in the current one-minute window. Optional header, with the same exceptions as
X-RateLimit-Limit: absent where it is absent, and present on the429of the per-IP limit or the authentication-failure limit, with the value of that limit. X-RateLimit-Reset- Seconds until the one-minute window starts again. Optional header, absent from the same responses as
X-RateLimit-Limitand also from the429of the per-IP limit or the authentication-failure limit: useRetry-Afterthere. X-Request-Id- Identifier of the request, equal to the
requestIdof errors; give it to support.
Response fields
Response fields 503Field Description codeRequiredstringStable error code; decide by it, never by the message.
messageRequiredstringHuman-readable message; the text and the language may change.
detailsNullablearray of ValidationIssueProblems per field, when the error refers to specific inputs.
details[].fieldRequiredstringSource and camelCase path of the input, for example
body.scheduledEnd,body.items.0.quantityorquery.limit.details[].messageRequiredstringMessage in pt-BR, ready to show next to the field.
details[].codeRequiredstringStable code of the problem: REQUIRED, TOO_SHORT, TOO_LONG, TOO_FEW_ITEMS, TOO_MANY_ITEMS, TOO_SMALL, TOO_LARGE, INVALID_FORMAT, INVALID_TYPE, INVALID_CHOICE, UNKNOWN_FIELD, INVALID_JSON, TIMEZONE_REQUIRED, INVALID_VALUE or a rule-specific code (for example END_BEFORE_START, PAST_DUE_DATE).
requestIdNullablestringIdentifier of the request, equal to the
X-Request-Idheader; give it to support.