Skip to content
ProFieldX

Service requests

Open service request

POSThttps://api.profieldx.com/v1/service-requests

Opens a service request with a summary of up to 500 characters; it joins the team's queue for review and does not create a work order. Customer and location are optional; the location requires the customer that owns it. The Idempotency-Key header is required and applies to the whole organization, whichever API key is used: the first call answers 201; repeating the same value with the same body answers 200 with the request created before, and with a different body answers 409 IDEMPOTENCY_KEY_REUSED. A due date in the past can be refused with 422 PAST_DUE_DATE_NOT_ALLOWED, depending on the organization's settings.

Requires the Idempotency-Key header

Parameters

FieldDescription
Idempotency-KeyRequiredSent in: Headerstring (length 16–128)

Unique key of this creation intent, with 16 to 128 characters. Send the same value again when you repeat the same request.

Accept-LanguageOptionalSent in: Header"pt-BR" | "en-US"

Language of the error message: pt-BR (default) or en-US. Only the error message changes language; code, the rest of the envelope and the data do not change, and the message of each details item stays in Portuguese.

Allowed values: pt-BR, en-US

Body

FieldDescription
summaryRequiredstring (length 1–500)

Required summary to start the quick registration.

Example: Ar-condicionado parou de resfriar

customerIdNullablestring (uuid)

Existing customer of the organization; optional for internal requests.

serviceLocationIdNullablestring (uuid)

Existing location of the given customer. Requires customerId.

activityTypeIdNullablestring (uuid)

Active activity type of the organization; when it has a default due time, it applies if dueAt is missing.

dueAtNullablestring (date-time)

Desired due date, date and time with time zone.

customFieldsobject

Answers to the organization's custom fields, by field key.

Example

Example values (names, addresses, descriptions) appear in Portuguese, the way customers in Brazil enter them.

More languages
curl -X POST 'https://api.profieldx.com/v1/service-requests' \
  -H "Authorization: Bearer $PROFIELDX_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: erp-pedido-2026-1042" \
  -d '{"summary":"Ar-condicionado da recepção parou de resfriar","customerId":"0197c1a0-7b1f-7c3e-8d2a-5b6c7d8e9f01","serviceLocationId":"0197c1a0-9d40-7e21-a6f4-0c8b7a6d5e42","dueAt":"2027-12-01T18:00:00-03:00","customFields":{"equipamento":"Split 12.000 BTU"}}'
  • The samples show the call and do not print the response.
  • The key is read from the PROFIELDX_KEY environment variable.
  • The Idempotency-Key value in the samples is only an example: use a new value for each record.

Responses

  • 200

    Repeat with the same key and the same body: the request created before.

    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, 403 with BILLING_FEATURE_REQUIRED, 413 and 503 responses, and it may be missing from 500 responses. The 429 produced by the per-IP limit or the authentication-failure limit carries this header and X-RateLimit-Remaining with the values of that limit, and does not carry X-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 the 429 of 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-Limit and also from the 429 of the per-IP limit or the authentication-failure limit: use Retry-After there.
    X-Request-Id
    Identifier of the request, equal to the requestId of errors; give it to support.
    Example
    {
      "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": []
    }
    Response fields
    Response fields 200
    FieldDescription
    idRequiredstring (uuid)

    UUIDv7 identifier of the service request.

    documentNumberRequiredstring

    Readable number within the organization, in the format 000001-2026.

    summaryRequiredstring

    Summary of the request.

    customerIdRequiredNullablestring (uuid)

    The request's customer, when provided.

    serviceLocationIdRequiredNullablestring (uuid)

    Service location, when provided.

    activityTypeIdRequiredNullablestring (uuid)

    Activity type, when provided.

    activityTypeSnapshotRequiredNullableobject

    Copy of the activity type (name, description, instructions, duration and default due time) at the time of registration.

    dueAtRequiredNullablestring (date-time)

    Due date, with time zone, when set.

    customFieldsRequiredobject

    Answers to the organization's custom fields, by field key.

    workflowStageIdNullablestring

    Current stage in the workflow configured by the organization.

    workflowRevisionNullableinteger

    Version of the workflow used for the current stage.

    statusRequired"received" | "triaging" | "awaiting_information" | "approved" | "declined" | "cancelled" | "converted"

    Status: received, triaging, awaiting_information, approved, declined, cancelled or converted.

    Allowed values: received, triaging, awaiting_information, approved, declined, cancelled, converted

    statusNoteRequiredNullablestring

    Reason recorded at the last decline or cancellation.

    informationRequestedRequiredNullablestring

    Last information requested by the team, if any.

    statusChangedAtRequiredstring (date-time)

    Date and time of the last status change.

    createdAtRequiredstring (date-time)

    Date and time of registration, with time zone.

    updatedAtRequiredstring (date-time)

    Date and time of the last change, with time zone.

    sourceRequiredstring

    Source: internal (team, import or integration) or public_form (public form).

    requesterNameRequiredNullablestring

    Name of the person who asked through the public form.

    requesterEmailRequiredNullablestring

    Email of the person who asked through the public form.

    requesterPhoneRequiredNullablestring

    Phone of the person who asked through the public form.

    requesterLocationDescriptionRequiredNullablestring

    Location described by the person who asked through the public form.

    publicFormAnswersarray of IntegrationPublicFormAnswer

    Answers given in the public form (only when reading a request of that source).

    publicFormAnswers[].keyRequiredstring

    Key of the question in the form.

    publicFormAnswers[].labelRequiredstring

    Text of the question at the time of the answer.

    publicFormAnswers[].fieldTypeRequiredstring

    Type of the question: shortText, longText, number, date, boolean, singleSelect or multiSelect.

    publicFormAnswers[].valueRequiredany

    Answer given, in the format of the question type.

    publicFormAnswers[].optionsarray of IntegrationIntakeOption

    Options the question offered, for choice questions.

    publicFormAnswers[].options[].valueRequiredstring (length 1–64)

    Value of the option, stored in the answer.

    publicFormAnswers[].options[].labelRequiredstring (length 1–100)

    Text of the option shown to the person answering.

  • 201

    Service request opened.

    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, 403 with BILLING_FEATURE_REQUIRED, 413 and 503 responses, and it may be missing from 500 responses. The 429 produced by the per-IP limit or the authentication-failure limit carries this header and X-RateLimit-Remaining with the values of that limit, and does not carry X-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 the 429 of 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-Limit and also from the 429 of the per-IP limit or the authentication-failure limit: use Retry-After there.
    X-Request-Id
    Identifier of the request, equal to the requestId of errors; give it to support.
    Example
    {
      "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": []
    }
    Response fields
    Response fields 201
    FieldDescription
    idRequiredstring (uuid)

    UUIDv7 identifier of the service request.

    documentNumberRequiredstring

    Readable number within the organization, in the format 000001-2026.

    summaryRequiredstring

    Summary of the request.

    customerIdRequiredNullablestring (uuid)

    The request's customer, when provided.

    serviceLocationIdRequiredNullablestring (uuid)

    Service location, when provided.

    activityTypeIdRequiredNullablestring (uuid)

    Activity type, when provided.

    activityTypeSnapshotRequiredNullableobject

    Copy of the activity type (name, description, instructions, duration and default due time) at the time of registration.

    dueAtRequiredNullablestring (date-time)

    Due date, with time zone, when set.

    customFieldsRequiredobject

    Answers to the organization's custom fields, by field key.

    workflowStageIdNullablestring

    Current stage in the workflow configured by the organization.

    workflowRevisionNullableinteger

    Version of the workflow used for the current stage.

    statusRequired"received" | "triaging" | "awaiting_information" | "approved" | "declined" | "cancelled" | "converted"

    Status: received, triaging, awaiting_information, approved, declined, cancelled or converted.

    Allowed values: received, triaging, awaiting_information, approved, declined, cancelled, converted

    statusNoteRequiredNullablestring

    Reason recorded at the last decline or cancellation.

    informationRequestedRequiredNullablestring

    Last information requested by the team, if any.

    statusChangedAtRequiredstring (date-time)

    Date and time of the last status change.

    createdAtRequiredstring (date-time)

    Date and time of registration, with time zone.

    updatedAtRequiredstring (date-time)

    Date and time of the last change, with time zone.

    sourceRequiredstring

    Source: internal (team, import or integration) or public_form (public form).

    requesterNameRequiredNullablestring

    Name of the person who asked through the public form.

    requesterEmailRequiredNullablestring

    Email of the person who asked through the public form.

    requesterPhoneRequiredNullablestring

    Phone of the person who asked through the public form.

    requesterLocationDescriptionRequiredNullablestring

    Location described by the person who asked through the public form.

    publicFormAnswersarray of IntegrationPublicFormAnswer

    Answers given in the public form (only when reading a request of that source).

    publicFormAnswers[].keyRequiredstring

    Key of the question in the form.

    publicFormAnswers[].labelRequiredstring

    Text of the question at the time of the answer.

    publicFormAnswers[].fieldTypeRequiredstring

    Type of the question: shortText, longText, number, date, boolean, singleSelect or multiSelect.

    publicFormAnswers[].valueRequiredany

    Answer given, in the format of the question type.

    publicFormAnswers[].optionsarray of IntegrationIntakeOption

    Options the question offered, for choice questions.

    publicFormAnswers[].options[].valueRequiredstring (length 1–64)

    Value of the option, stored in the answer.

    publicFormAnswers[].options[].labelRequiredstring (length 1–100)

    Text of the option shown to the person answering.

  • 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, 403 with BILLING_FEATURE_REQUIRED, 413 and 503 responses, and it may be missing from 500 responses. The 429 produced by the per-IP limit or the authentication-failure limit carries this header and X-RateLimit-Remaining with the values of that limit, and does not carry X-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 the 429 of 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-Limit and also from the 429 of the per-IP limit or the authentication-failure limit: use Retry-After there.
    X-Request-Id
    Identifier of the request, equal to the requestId of errors; give it to support.
    Example
    {
      "code": "UNAUTHENTICATED",
      "message": "Authentication is required or invalid.",
      "requestId": "0197c1d2-8a2e-7f10-9c4b-3e5d6a7b8c90"
    }
    Response fields
    Response fields 401
    FieldDescription
    codeRequiredstring

    Stable error code; decide by it, never by the message.

    messageRequiredstring

    Human-readable message; the text and the language may change.

    detailsNullablearray of ValidationIssue

    Problems per field, when the error refers to specific inputs.

    details[].fieldRequiredstring

    Source and camelCase path of the input, for example body.scheduledEnd, body.items.0.quantity or query.limit.

    details[].messageRequiredstring

    Message in pt-BR, ready to show next to the field.

    details[].codeRequiredstring

    Stable 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).

    requestIdNullablestring

    Identifier of the request, equal to the X-Request-Id header; 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, 403 with BILLING_FEATURE_REQUIRED, 413 and 503 responses, and it may be missing from 500 responses. The 429 produced by the per-IP limit or the authentication-failure limit carries this header and X-RateLimit-Remaining with the values of that limit, and does not carry X-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 the 429 of 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-Limit and also from the 429 of the per-IP limit or the authentication-failure limit: use Retry-After there.
    X-Request-Id
    Identifier of the request, equal to the requestId of errors; give it to support.
    Response fields
    Response fields 403
    FieldDescription
    codeRequiredstring

    Stable error code; decide by it, never by the message.

    messageRequiredstring

    Human-readable message; the text and the language may change.

    detailsNullablearray of ValidationIssue

    Problems per field, when the error refers to specific inputs.

    details[].fieldRequiredstring

    Source and camelCase path of the input, for example body.scheduledEnd, body.items.0.quantity or query.limit.

    details[].messageRequiredstring

    Message in pt-BR, ready to show next to the field.

    details[].codeRequiredstring

    Stable 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).

    requestIdNullablestring

    Identifier of the request, equal to the X-Request-Id header; give it to support.

  • 404

    The resource does not exist or belongs to another organization; both cases get the same response.

    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, 403 with BILLING_FEATURE_REQUIRED, 413 and 503 responses, and it may be missing from 500 responses. The 429 produced by the per-IP limit or the authentication-failure limit carries this header and X-RateLimit-Remaining with the values of that limit, and does not carry X-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 the 429 of 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-Limit and also from the 429 of the per-IP limit or the authentication-failure limit: use Retry-After there.
    X-Request-Id
    Identifier of the request, equal to the requestId of errors; give it to support.
    Response fields
    Response fields 404
    FieldDescription
    codeRequiredstring

    Stable error code; decide by it, never by the message.

    messageRequiredstring

    Human-readable message; the text and the language may change.

    detailsNullablearray of ValidationIssue

    Problems per field, when the error refers to specific inputs.

    details[].fieldRequiredstring

    Source and camelCase path of the input, for example body.scheduledEnd, body.items.0.quantity or query.limit.

    details[].messageRequiredstring

    Message in pt-BR, ready to show next to the field.

    details[].codeRequiredstring

    Stable 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).

    requestIdNullablestring

    Identifier of the request, equal to the X-Request-Id header; give it to support.

  • 409

    Idempotency-Key reused with a different body (IDEMPOTENCY_KEY_REUSED).

    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, 403 with BILLING_FEATURE_REQUIRED, 413 and 503 responses, and it may be missing from 500 responses. The 429 produced by the per-IP limit or the authentication-failure limit carries this header and X-RateLimit-Remaining with the values of that limit, and does not carry X-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 the 429 of 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-Limit and also from the 429 of the per-IP limit or the authentication-failure limit: use Retry-After there.
    X-Request-Id
    Identifier of the request, equal to the requestId of errors; give it to support.
    Response fields
    Response fields 409
    FieldDescription
    codeRequiredstring

    Stable error code; decide by it, never by the message.

    messageRequiredstring

    Human-readable message; the text and the language may change.

    detailsNullablearray of ValidationIssue

    Problems per field, when the error refers to specific inputs.

    details[].fieldRequiredstring

    Source and camelCase path of the input, for example body.scheduledEnd, body.items.0.quantity or query.limit.

    details[].messageRequiredstring

    Message in pt-BR, ready to show next to the field.

    details[].codeRequiredstring

    Stable 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).

    requestIdNullablestring

    Identifier of the request, equal to the X-Request-Id header; give it to support.

  • 413

    Request body larger than 1 MB (PAYLOAD_TOO_LARGE).

    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, 403 with BILLING_FEATURE_REQUIRED, 413 and 503 responses, and it may be missing from 500 responses. The 429 produced by the per-IP limit or the authentication-failure limit carries this header and X-RateLimit-Remaining with the values of that limit, and does not carry X-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 the 429 of 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-Limit and also from the 429 of the per-IP limit or the authentication-failure limit: use Retry-After there.
    X-Request-Id
    Identifier of the request, equal to the requestId of errors; give it to support.
    Response fields
    Response fields 413
    FieldDescription
    codeRequiredstring

    Stable error code; decide by it, never by the message.

    messageRequiredstring

    Human-readable message; the text and the language may change.

    detailsNullablearray of ValidationIssue

    Problems per field, when the error refers to specific inputs.

    details[].fieldRequiredstring

    Source and camelCase path of the input, for example body.scheduledEnd, body.items.0.quantity or query.limit.

    details[].messageRequiredstring

    Message in pt-BR, ready to show next to the field.

    details[].codeRequiredstring

    Stable 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).

    requestIdNullablestring

    Identifier of the request, equal to the X-Request-Id header; give it to support.

  • 422

    Validation failure (VALIDATION_ERROR, with details per 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, 403 with BILLING_FEATURE_REQUIRED, 413 and 503 responses, and it may be missing from 500 responses. The 429 produced by the per-IP limit or the authentication-failure limit carries this header and X-RateLimit-Remaining with the values of that limit, and does not carry X-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 the 429 of 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-Limit and also from the 429 of the per-IP limit or the authentication-failure limit: use Retry-After there.
    X-Request-Id
    Identifier of the request, equal to the requestId of errors; give it to support.
    Response fields
    Response fields 422
    FieldDescription
    codeRequiredstring

    Stable error code; decide by it, never by the message.

    messageRequiredstring

    Human-readable message; the text and the language may change.

    detailsNullablearray of ValidationIssue

    Problems per field, when the error refers to specific inputs.

    details[].fieldRequiredstring

    Source and camelCase path of the input, for example body.scheduledEnd, body.items.0.quantity or query.limit.

    details[].messageRequiredstring

    Message in pt-BR, ready to show next to the field.

    details[].codeRequiredstring

    Stable 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).

    requestIdNullablestring

    Identifier of the request, equal to the X-Request-Id header; give it to support.

  • 429

    Usage limit exceeded (RATE_LIMITED); wait the number of seconds in Retry-After. When the limit is the key's per-minute limit or the organization's daily limit, details carries an item with field equal to scope and code equal to minute or day; the per-IP limit and the authentication-failure limit do not carry details.

    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, 403 with BILLING_FEATURE_REQUIRED, 413 and 503 responses, and it may be missing from 500 responses. The 429 produced by the per-IP limit or the authentication-failure limit carries this header and X-RateLimit-Remaining with the values of that limit, and does not carry X-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 the 429 of 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-Limit and also from the 429 of the per-IP limit or the authentication-failure limit: use Retry-After there.
    X-Request-Id
    Identifier of the request, equal to the requestId of 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 429
    FieldDescription
    codeRequiredstring

    Stable error code; decide by it, never by the message.

    messageRequiredstring

    Human-readable message; the text and the language may change.

    detailsNullablearray of ValidationIssue

    Problems per field, when the error refers to specific inputs.

    details[].fieldRequiredstring

    Source and camelCase path of the input, for example body.scheduledEnd, body.items.0.quantity or query.limit.

    details[].messageRequiredstring

    Message in pt-BR, ready to show next to the field.

    details[].codeRequiredstring

    Stable 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).

    requestIdNullablestring

    Identifier of the request, equal to the X-Request-Id header; give it to support.

  • 500

    Unexpected internal error (INTERNAL_ERROR); give the requestId to 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, 403 with BILLING_FEATURE_REQUIRED, 413 and 503 responses, and it may be missing from 500 responses. The 429 produced by the per-IP limit or the authentication-failure limit carries this header and X-RateLimit-Remaining with the values of that limit, and does not carry X-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 the 429 of 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-Limit and also from the 429 of the per-IP limit or the authentication-failure limit: use Retry-After there.
    X-Request-Id
    Identifier of the request, equal to the requestId of errors; give it to support.
    Response fields
    Response fields 500
    FieldDescription
    codeRequiredstring

    Stable error code; decide by it, never by the message.

    messageRequiredstring

    Human-readable message; the text and the language may change.

    detailsNullablearray of ValidationIssue

    Problems per field, when the error refers to specific inputs.

    details[].fieldRequiredstring

    Source and camelCase path of the input, for example body.scheduledEnd, body.items.0.quantity or query.limit.

    details[].messageRequiredstring

    Message in pt-BR, ready to show next to the field.

    details[].codeRequiredstring

    Stable 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).

    requestIdNullablestring

    Identifier of the request, equal to the X-Request-Id header; 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, 403 with BILLING_FEATURE_REQUIRED, 413 and 503 responses, and it may be missing from 500 responses. The 429 produced by the per-IP limit or the authentication-failure limit carries this header and X-RateLimit-Remaining with the values of that limit, and does not carry X-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 the 429 of 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-Limit and also from the 429 of the per-IP limit or the authentication-failure limit: use Retry-After there.
    X-Request-Id
    Identifier of the request, equal to the requestId of errors; give it to support.
    Response fields
    Response fields 503
    FieldDescription
    codeRequiredstring

    Stable error code; decide by it, never by the message.

    messageRequiredstring

    Human-readable message; the text and the language may change.

    detailsNullablearray of ValidationIssue

    Problems per field, when the error refers to specific inputs.

    details[].fieldRequiredstring

    Source and camelCase path of the input, for example body.scheduledEnd, body.items.0.quantity or query.limit.

    details[].messageRequiredstring

    Message in pt-BR, ready to show next to the field.

    details[].codeRequiredstring

    Stable 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).

    requestIdNullablestring

    Identifier of the request, equal to the X-Request-Id header; give it to support.