For more information on using API

GET https://webapi.mymarketing.co.il/api/webhooks/{id}/parameters

Get the Webhook Parameters for a given webhook id

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Webhook id. Can be found using the endpoint "Get account's Webhooks information"

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ParametersDetailsItem

Name

Description

Type

Additional information

id

Parameter id

integer
key

The parameter name

string
value

The key value

string
event_parameter_type

Type of the parameter as enum

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "key": "sample string 2",
    "value": "sample string 3",
    "event_parameter_type": "header"
  },
  {
    "id": 1,
    "key": "sample string 2",
    "value": "sample string 3",
    "event_parameter_type": "header"
  }
]

application/xml, text/xml

Sample:
<ArrayOfParametersDetailsItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models">
  <ParametersDetailsItem>
    <event_parameter_type>header</event_parameter_type>
    <id>1</id>
    <key>sample string 2</key>
    <value>sample string 3</value>
  </ParametersDetailsItem>
  <ParametersDetailsItem>
    <event_parameter_type>header</event_parameter_type>
    <id>1</id>
    <key>sample string 2</key>
    <value>sample string 3</value>
  </ParametersDetailsItem>
</ArrayOfParametersDetailsItem>