Get an Event

Get an Event by ID

GET https://api.moltin.com/v2/integrations/:id

Path Parameters

NameTypeDescription

id

string

The ID for the event

Headers

NameTypeDescription

Authorization

string

The Bearer token to grant access to the API

{
  "data": {
    "id": "71679ff8-36c1-4f8f-8ed2-cea50555d78c",
    "type": "integration",
    "integration_type": "webhook",
    "name": "Order shipping notification",
    "description": "Send a shipping notification via email with discount code.",
    "enabled": true,
    "configuration": {
      "url": "https://yourwebsite.com/order-created-notification"
    },
    "observes": ["order.fulfilled"],
    "links": {
      "self":
        "https://api.moltin.com/v2/integrations/5f2c7366-c97f-4047-b3f3-a603270db189"
    },
    "meta": {
      "timestamps": {
        "created_at": "2018-04-19T10:21:06.747Z",
        "updated_at": "2018-04-19T10:40:19.805Z"
      }
    }
  }
}
curl -X GET https://api.moltin.com/v2/integrations/:id \
     -H "Authorization: Bearer XXXX"

Last updated