Get an Email Rule

GET /email_rules/{email_rule_id}

Retrieve an existing Email Rule request

Headers

  • Authorization string Required

    Authorize your API calls with an Arta API token

Path parameters

  • email_rule_id integer Required

    email_rule_id parameter

Responses

  • 200 application/json

    Successful Email Rule get response

    Hide headers attributes Show headers attributes
    • content-type string
    • x-arta-request-id string

      A unique identifier for the Arta API call

    Hide response attributes Show response attributes object
    • created_at string
    • email_notification_id string
    • id integer
    • recipients array[string]
    • updated_at string
  • 404 application/json

    Not Found

    Hide headers attributes Show headers attributes
    • content-type string
    • x-arta-request-id string

      A unique identifier for the Arta API call

    Hide response attribute Show response attribute object
    • errors object
      Hide errors attribute Show errors attribute object
      • detail string
GET /email_rules/{email_rule_id}
curl \
 --request GET 'https://api.arta.io/email_rules/{email_rule_id}' \
 --header "Authorization: ARTA_APIKey s0e1t2e3c4a5s6t7r8o9n10o11m12y"
Response examples (200)
# Headers
content-type: application/json
x-arta-request-id: FkBjuxbwLLTx4RoAARkx

# Payload
{
  "created_at": "2021-10-27T16:48:38.657228",
  "email_notification_id": "complete",
  "id": 1942,
  "recipients": [
    "destination"
  ],
  "updated_at": "2021-10-27T16:48:38.657228"
}
Response examples (404)
# Headers
content-type: application/json
x-arta-request-id: FkBjuxbwLLTx4RoAARkx

# Payload
{
  "errors": {
    "detail": "string"
  }
}