Twilio SendGrid Marketing Campaigns Custom Fields API
The Twilio SendGrid Marketing Campaigns Custom Fields API allows you to add extra information about your marketing contacts that is relevant to your needs.…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
The Twilio SendGrid Marketing Campaigns Custom Fields API allows you to add extra information about your marketing contacts that is relevant to your needs. For example, a fashion retailer might create a custom field for customers' shoe sizes, an ice cream shop might store customers' favorite flavors in a custom field, and you can create custom fields that make sense for your business.
With custom fields, you can also create segments based on custom fields values. Your custom fields are completely customizable to the use-cases and user information that you need.
You can also manage your Custom Fields using the SendGrid application user interface. See Using Custom Fields for more information, including a list of Reserved Fields. You can also manage your custom fields in the Marketing Campaigns application user interface.
Endpoints 4
Custom Fields
- GETGet All Field Definitions
/v3/marketing/field_definitionsThis endpoint retrieves all defined Custom Fields and Reserved Fields. - POSTCreate Custom Field Definition
/v3/marketing/field_definitionsThis endpoint creates a new custom field definition. Custom field definitions are created with the given name and field_type. Although field names are stored… - DELETEDelete Custom Field Definition
/v3/marketing/field_definitions/:custom_field_idThis endpoint deletes a defined Custom Field. You can delete only Custom Fields; Reserved Fields cannot be deleted. - PATCHUpdate Custom Field Definition
/v3/marketing/field_definitions/:custom_field_idThis endpoint allows you to update a defined Custom Field. Only your Custom fields can be modified; Reserved Fields cannot be updated.
API details
- Base URL
https://api.sendgrid.com- Authentication
- A bearer token in the Authorization header
- Operations
- 4 operations on 2 pathsGET 1POST 1PATCH 1DELETE 1
- Main resources
- Custom Fields 4
- Response formats
application/json- Description format
- OpenAPI 3.1.0, API version
1.0.0 - Links
- Documentation · OpenAPI document · Terms of service · Support
How to test the Twilio SendGrid Marketing Campaigns Custom Fields API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Twilio SendGrid Marketing Campaigns Custom Fields API collection, without the publisher's secrets.
- Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Get All Field Definitions” (GET /v3/marketing/field_definitions), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Twilio SendGrid Marketing Campaigns Custom Fields API?
The Twilio SendGrid Marketing Campaigns Custom Fields API allows you to add extra information about your marketing contacts that is relevant to your needs.… It is listed under Communication and has 4 endpoints.
Who publishes the Twilio SendGrid Marketing Campaigns Custom Fields API?
It is listed from SendGrid's public API description (an OpenAPI document), not published by SendGrid on Swastik Codes. Anyone who controls sendgrid.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Twilio SendGrid Marketing Campaigns Custom Fields API?
Requests go to https://api.sendgrid.com. Endpoint paths are added to this base URL.
How do I authenticate with the Twilio SendGrid Marketing Campaigns Custom Fields API?
With A bearer token in the Authorization header.
How many endpoints does the Twilio SendGrid Marketing Campaigns Custom Fields API have?
4 operations on 2 paths (1 GET, 1 POST, 1 PATCH, 1 DELETE). The largest groups are Custom Fields.
Is forking the Twilio SendGrid Marketing Campaigns Custom Fields API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.