provider Senders POST /marketing/senders
@utdk/sendgrid /marketing/senders
Create a Sender Identity
**This endpoint allows you to create a new sender identity.** *You may create up to 100 unique sender identities.* Sender identities are required to be verified before use. If your domain has been authenticated, a new sender identity will auto verify on creation. Otherwise an email will be sent to the `from.email`.
on-behalf-of header
string

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.

postMarketingSenders
POST/marketing/senders
**This endpoint allows you to create a new sender identity.** *You may create up to 100 unique sender identities.* Sender identities are required to be verified before use. If your domain has been authenticated, a new sender identity will auto verify on creation. Otherwise an email will be sent to the `from.email`.

Input

required

The physical address of the sender identity.

Additional sender identity address information.

required

The city of the sender identity.

required

The country of the sender identity.

required
required

A nickname for the sender identity. Not used for sending.

The state of the sender identity.

The zipcode of the sender identity.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sendgrid from '@utdk/sendgrid';

await sendgrid.postMarketingSenders({
  "on-behalf-of": "The subuser's username. This header generates the API call as if the subuser account was making the call."
})