API reference
V1Global Search

Global Search List

list Sequences and Folders that the user has access to using a query parameter

GET
/api/v1/search

list Sequences and Folders that the user has access to using a query parameter

Authorization

access_token
Authorization<token>

In: header

Query Parameters

page?integer

actual page of results(per type)

per_page?integer

number of results per page(per type)

filter[query]?string

filter results by sequences(title, body) and folders by title

filter[daterange_from_to]?string

filter by creation date range

Value in

  • "today"
  • "yesterday"
  • "last_7_days"
  • "last_30_days"
  • "current_month"
  • "last_month"
  • "02/21/2024 19:56 - 02/28/2024 19:56"

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/search?page=1&per_page=20"
{  "status": "ok",  "data": {    "pagination": {      "sequences": {        "total_pages": 0,        "current_page": 0      },      "folders": {        "total_pages": 0,        "current_page": 0      }    },    "list": {      "sequences": [        {          "title": "string",          "body": null,          "style": null,          "id": "string",          "embed": "embed_disabled",          "shortlink": null,          "thumbnail": null,          "visibility": "visibility_public",          "owner_id": "string",          "team_owner_id": "string",          "created_at": "string",          "updated_at": "string"        }      ],      "folders": [        {          "id": "string",          "title": "string",          "total_sequences": 0,          "total_folders": 0,          "owner_id": "string",          "owner_team_id": "string",          "created_at": "string",          "updated_at": "string"        }      ]    }  }}