Custom properties
The following endpoints allow you to create and list custom property structures.
To use custom properties, you have to:
Create a custom properties structure.
Create custom properties structure items.
Fill the items with data.
Read more about custom properties in the custom properties feature documentation.
Gets a list of custom properties structures in the organization.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The ID of the organization.
57Successful response
GET /api/v2/custom-property-structures?organizationId=1 HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
Successful response
{
"customPropertyStructures": [
{
"id": 2,
"created": "2023-06-27T22:00:00.000Z",
"belongers": [
{
"belongerId": 57,
"belongerType": "organization",
"associatedTypes": [
"scenario"
]
}
]
}
]
}Creates a custom properties structure. You can have only one custom properties structure for each combination of associatedType, belongerTypeand belongerId values.
For example, you can create only one custom properties structure for scenarios in a specific organization.
To create a structure for custom scenario properties, fill in the request body:
associatedType:scenariobelongerType:organization
Check out the example API call.
To define the custom properties structure items, use the API call to create custom properties structure item.
Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.
If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.
The type of the entity which uses the custom properties structure. Fill in scenario to create custom scenario properties structure.
The type of the entity that owns the custom properties structure. Fill in organization to create custom scenario properties structure.
The ID of the entity that owns the custom properties structure.
Successful response
POST /api/v2/custom-property-structures HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 75
{
"associatedType": "scenario",
"belongerType": "organization",
"belongerId": 57
}Successful response
{
"customPropertyStructure": {
"id": 2,
"belongers": [
{
"belongerId": 57,
"belongerType": "organization",
"associatedTypes": [
"scenario"
]
}
],
"created": "2023-06-27T22:00:00.000Z"
}
}Last updated

