Endpoint / URL
Throughout this documentation, you will see endpoint URLs formatted such as:https://send.greenmarketing.com
, then the preceding request should be made to:
Path, Query, and Body Parameters
There are three (four including headers) types of parameters:- Path Parameters
- Query Parameters
- Body Parameters
?
sign.
Path Parameters
In this documentation, these are represented as part of the endpoint, wrapped in{}
brackets.
An example of a campaign_id
path parameter— is in the following endpoint:
{}
brackets, with the variable they represent, usually an ID.
For this example, a correct request would be made to:
Query Parameters
For convenience, EmailBison will convert body parameters into query parameters automatically, if the parameter names match.
GET
requests. They can be appended directly to the URL, or handled by the tool you are using to send requests.
If appended to the URL, you must add a question mark — ?
— and then your query parameters, separated by an ampersand — &
.
The following is an example of a request containing folder: inbox
and status: interested
query parameters.
For arrays, such as This request will send an array of
tag_ids
, pass the array entries using the following syntax.tag_ids = [1, 2, 3]
.