Add Contact to List

Add a contact to a list in SendGrid.

Options

Field Definition Type Required
Contact Set Choose whether to add a single contact or multiple (a list of) contacts to a list; options are Single Contact or List of Contacts. Dropdown TRUE

Input

Field Definition Type Required
Contact (Single Contact)
List IDs IDs of the lists to which a contact will be added. List of Text FALSE
Email Email address of the contact who will be added. String TRUE
Contact (List of Contacts)
List IDs IDs of the lists to which a list of contacts will be added. List of Text FALSE
Emails Email addresses of the contacts who will be added. String TRUE

Output

Field Definition Type
Job    
Job ID Unique identifier of the aysnc job. String
Response
Status Code Result of the operation. The HTTP status code is returned by the connector and indicates whether the action taken by the card succeeded or failed. For example:
  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request was not processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number

Related topics

SendGrid connector

About the elements of Okta Workflows

SendGrid API Reference