Skip to main content
GET
/
issues
cURL
curl --request GET \
  --url https://api.usepylon.com/issues \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "account": {
        "id": "<string>"
      },
      "assignee": {
        "email": "<string>",
        "id": "<string>"
      },
      "attachment_urls": [
        "<string>"
      ],
      "body_html": "<string>",
      "business_hours_first_response_seconds": 123,
      "business_hours_resolution_seconds": 123,
      "chat_widget_info": {
        "page_url": "<string>"
      },
      "created_at": "<string>",
      "csat_responses": [
        {
          "comment": "<string>",
          "score": 123
        }
      ],
      "custom_fields": {},
      "customer_portal_visible": true,
      "external_issues": [
        {
          "external_id": "<string>",
          "link": "<string>",
          "source": "<string>"
        }
      ],
      "first_response_seconds": 123,
      "first_response_time": "<string>",
      "id": "<string>",
      "latest_message_time": "<string>",
      "link": "<string>",
      "number": 123,
      "number_of_touches": 123,
      "requester": {
        "email": "<string>",
        "id": "<string>"
      },
      "resolution_seconds": 123,
      "resolution_time": "<string>",
      "slack": {
        "channel_id": "<string>",
        "message_ts": "<string>"
      },
      "snoozed_until_time": "<string>",
      "source": "slack",
      "state": "<string>",
      "tags": [
        "<string>"
      ],
      "team": {
        "id": "<string>"
      },
      "title": "<string>",
      "type": "Conversation"
    }
  ],
  "pagination": {
    "cursor": "<string>",
    "has_next_page": true
  },
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Authorization: Bearer

Query Parameters

start_time
string
required

The start time (RFC3339) of the time range to get issues for. The duration between start_time and end_time must be less than or equal to 30 days.

end_time
string
required

The end time (RFC3339) of the time range to get issues for. The duration between start_time and end_time must be less than or equal to 30 days.

Response

data
object[]

The data payload of the response.

pagination
object
request_id
string

The request ID for tracking.