Articles on: Quotify

How can I access the API?

You can access the API by going to Quotify > Settings > Integrations and start by creating a new API token:


You can use this token to make requests to the https://quotify.dev/api/quotes endpoint. For example:

# cURL example

curl "https://quotify.dev/api/quotes" \
     -H 'Authorization: Bearer 1|wmhsjBNSfvgdfb4234XL234241zXAdUFNxVNdfg1Fzp123cbd5e'

# Axios example

axios({
	"method": "GET",
	"url": "https://quotify.dev/api/quotes",
	"headers": {
		"Authorization": "Bearer 1|wmhsjBNSfvgdfb4234XL234241zXAdUFNxVNdfg1Fzp123cbd5e"
	}
})


Make sure you include the API token via the Authorization header. You will get the following response:

{
   "data":[
      {
         "id":"0Kj1wovKVP",
         "created_at":"2025-01-27T07:27:23+00:00",
         "utm_parameters":null,
         "fieldsets":[
            {
               "id":"g0Kj1RnP2r",
               "title":"Contact Information",
               "fields":[
                  {
                     "id":"R10VgAMjaB",
                     "name":"First name",
                     "type":"text",
                     "value":"John"
                  },
                  {
                     "id":"N28ZK1YnDQ",
                     "name":"Last name",
                     "type":"text",
                     "value":"Snow"
                  },
                  {
                     "id":"07eVerqZlv",
                     "name":"Email",
                     "type":"email",
                     "value":"john@snow.com"
                  },
                  {
                     "id":"G2ZX1pdjqr",
                     "name":"Communication",
                     "type":"dropdown",
                     "value":"Via email"
                  }
               ]
            },
            {
               "id":"16dVb1nDvK",
               "title":"Shipping information",
               "fields":[
                  {
                     "id":"YdknmabnLw",
                     "name":"Country",
                     "type":"country",
                     "value":"UK"
                  }
               ]
            }
         ],
         "products":[
            {
               "id":"kLnNlLOzZ4",
               "shopify_product_id":7580406874312,
               "title":"Backpack",
               "variants":[
                  {
                     "id":"lgn37vrbnr",
                     "shopify_product_variant_id":42821619155144,
                     "variant_title":"Gray",
                     "variant_sku":"BC-GREY",
                     "variant_quantity":1
                  },
                  {
                     "id":"wXjQLN34Z0",
                     "shopify_product_variant_id":42821619187912,
                     "variant_title":"Space Gray",
                     "variant_sku":"BC-SPACE",
                     "variant_quantity":10
                  }
               ]
            }
         ]
      },
   ],
   "links":{
      "first":"https:\/\/quotify.dev\/api\/quotes?page=1",
      "last":"https:\/\/quotify.dev\/api\/quotes?page=58",
      "prev":null,
      "next":"https:\/\/quotify.dev\/api\/quotes?page=2"
   },
   "meta":{
      "current_page":1,
      "from":1,
      "last_page":58,
      "links":[
         {
            "url":null,
            "label":"« Previous",
            "active":false
         },
         {
            "url":"https:\/\/quotify.dev\/api\/quotes?page=1",
            "label":"1",
            "active":true
         },
         {
            "url":"https:\/\/quotify.dev\/api\/quotes?page=2",
            "label":"2",
            "active":false
         },
         {
            "url":"https:\/\/quotify.dev\/api\/quotes?page=3",
            "label":"3",
            "active":false
         },
         {
            "url":"https:\/\/quotify.dev\/api\/quotes?page=4",
            "label":"4",
            "active":false
         },
         {
            "url":"https:\/\/quotify.dev\/api\/quotes?page=5",
            "label":"5",
            "active":false
         },
         {
            "url":"https:\/\/quotify.dev\/api\/quotes?page=6",
            "label":"6",
            "active":false
         },
         {
            "url":"https:\/\/quotify.dev\/api\/quotes?page=7",
            "label":"7",
            "active":false
         },
         {
            "url":"https:\/\/quotify.dev\/api\/quotes?page=8",
            "label":"8",
            "active":false
         },
         {
            "url":"https:\/\/quotify.dev\/api\/quotes?page=9",
            "label":"9",
            "active":false
         },
         {
            "url":"https:\/\/quotify.dev\/api\/quotes?page=10",
            "label":"10",
            "active":false
         },
         {
            "url":null,
            "label":"...",
            "active":false
         },
         {
            "url":"https:\/\/quotify.dev\/api\/quotes?page=57",
            "label":"57",
            "active":false
         },
         {
            "url":"https:\/\/quotify.dev\/api\/quotes?page=58",
            "label":"58",
            "active":false
         },
         {
            "url":"https:\/\/quotify.dev\/api\/quotes?page=2",
            "label":"Next »",
            "active":false
         }
      ],
      "path":"https:\/\/quotify.dev\/api\/quotes",
      "per_page":20,
      "to":20,
      "total":1155
   }
}


If you want to filter the results, you can use the following query parameters:
?created_after=2024-01-01
?created_before=2025-01-01

Updated on: 27/01/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!