provider Designs API GET
/designs @utdk/sendgrid
/designs List Designs
**This endpoint allows you to retrieve a list of designs already stored in your Design Library**.
A GET request to `/designs` will return a list of your existing designs. This endpoint will not return the pre-built Twilio SendGrid designs. Pre-built designs can be retrieved using the `/designs/pre-builts` endpoint, which is detailed below.
By default, you will receive 100 results per request; however, you can modify the number of results returned by passing an integer to the `page_size` query parameter.
- page_size query
- number of results to return
- integer
- page_token query
- token corresponding to a specific page of results, as provided by metadata
- string
- summary query
- set to false to return all fields
- boolean
Try it
Authentication
Configure credentials for Email Activity (beta)
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import sendgrid from '@utdk/sendgrid';
await sendgrid.listDesigns({
"page_size": 100,
"summary": true
})