Get an Event

Last updated 8 months ago

get
Get an Event by ID

https://api.moltin.com
/v2/integrations/:id
Request
Response
Path Parameters
id
required
string
The ID for the event
Headers
Authorization
required
string
The Bearer token to grant access to the API
200: OK
{
"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
curl -X GET https://api.moltin.com/v2/integrations/:id \
-H "Authorization: Bearer XXXX"