API Management

Create API key

This endpoint allows you to create an API key with relevant permissions as per users need. The scopes that need to included in the API need to be passed in the API call as comma seperated values.<br> Following are the supported scopes -

  • "email.send"
  • "domain.read"
  • "domain.write"
  • "suppression.write"
  • "template.read"
  • "template.write"
  • "tags.write"
  • "subaccount.read"
  • "subaccount.write"
  • "events"
  • "logs"
  • "stats"
  • "apikey.read"
  • "apikey.write"
  • "webhook.read"
  • "webhook.write"
post/api_keys

Request

  • Base URL
    https://emailapi.netcorecloud.net/v6
  • URL
    https://emailapi.netcorecloud.net/v6/api_keys
  • Auth
    HTTP bearer

Headers

on-behalf-ofstring
Example:on-behalf-of: <name of the subaccount>

The On Behalf Of header allows you to make API calls from a parent account on behalf of the parent's customer accounts

Request body

namestring
scopesstring[]
ip_addressstring[]

Response

Created

api_keystring
api_key_idinteger
namestring
scopesstring[]
ip_addressstring[]

Changes

No recorded changes to this operation across all 2 revisions of this API.