Endpoints
Create an event type
This endpoint creates a new event type representing a touchpoint along your customer journey.
Please contact us in case you are unsure adding more event types!
post/event-types
Request
- Base URLapi.etrusted.com (relative, and the document’s source URL is not known)
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Authorizationstring required
An authorisation header containing meta information, see OAuth2.
Request body
Example request
{
"active": true,
"name": "after_sales"
}Response
The created event type.
Example response
{
"id": "ety-b8a7dd0b-2858-49e9-822c-8f4321caae1e",
"createdAt": "2023-02-14T17:15:30.000Z",
"updatedAt": "2023-02-14T19:45:50.100Z",
"active": true,
"name": "after_sales"
}Changes
No recorded changes to this operation across all 1 revision of this API.