cURL
curl --request POST \ --url https://api.embedreach.com/api/segments/text-to-segment \ --header 'Content-Type: application/json' \ --data '{ "text": "<string>", "userCustomVerb": "user" }'
{ "success": true, "conditions": [ { "field": "userId", "value": [ "<string>" ], "operator": "equals" } ] }
Text to segment builder
If using a platform scoped JWT, you can pass in a header to impersonate a specific tenant to impersonate the request as.
Status 200 response
The response is of type object.
object