Get an Entry
GET
Get an Entry
https://api.moltin.com/v2/flows/:slug/entries/:id
Parameters
Path parameters
Name | Required | Type | Description |
---|---|---|---|
id | Required | string | The ID of the entry you are requesting. |
slug | Required | string | The slug for the flow you are requesting an entry for. |
Headers
Name | Required | Type | Description |
---|---|---|---|
Authorization | Required | string | The Bearer token required to get access to the API. |
Request Examples
Curl
curl https://api.moltin.com/v2/flows/:slug/entries/:id \
-H "Authorization: Bearer XXXX"
JavaScript SDK
const flowSlug = "flow-slug";
const entryId = "25617d3e-14a6-434c-bfab-3fda87517aaf";
// Where `EPCC` is an authenticated client
await EPCC.Flows.GetEntry(flowSlug, entryId);
Response Example
200 OK
{
"data": {
"id": "4abb8316-d0a2-4c91-bf29-4d19ba932227",
"type": "entry",
"meta": {
"owner": "organization",
"timestamps": {
"created_at": "2018-05-10T15:28:59.192Z",
"updated_at": "2018-05-10T15:28:59.192Z"
}
},
"links": {
"self": "https://api.moltin.com/v2/flows/products/entries/4abb8316-d0a2-4c91-bf29-4d19ba932227"
}
}
}