Flow
Enroll a contact into an automation flow (chatbot) and manage your flows through the API.
httpAuthorizationBearer <token>application/json- response
data*array<string>meta*curl -X GET 'https://aexrux.com/api/v1/flows'{ "data": [ "string" ], "meta": { "count": 0 }}httpAuthorizationBearer <token>id*integerapplication/json- response
data*array<unknown>meta*stringcurl -X GET 'https://aexrux.com/api/v1/flows/0'{ "data": [ null ], "meta": "string"}httpAuthorizationBearer <token>id*integerapplication/json- body
Enroll a contact into a flow. Scramble reads these rules to document the
request body. Identify the contact by contact_id (a contact already in
the workspace) OR by phone (the contact is looked up by its E.164
number). Exactly one is required; the controller resolves it to a Contact
and hands it to FlowEnrollmentService::enroll().
contact_id?|Id of an existing contact in the workspace. Required unless phone is given.
phone?|Contact phone in international format (digits, E.164). Used to look up
the contact when contact_id is omitted. Required unless contact_id is given.
length <= 32application/json- response
data*meta*stringcurl -X POST 'https://aexrux.com/api/v1/flows/0/enroll' \ -H 'Content-Type: application/json' \ -d '{}'{ "data": { "flow_id": "string", "contact_id": 0, "subscriber_id": "string", "status": "string", "enrolled_at": "string" }, "meta": "string"}httpAuthorizationBearer <token>id*integerapplication/json- response
data*array<string>meta*curl -X GET 'https://aexrux.com/api/v1/flows/0/subscribers'{ "data": [ "string" ], "meta": { "count": 0, "counts": { "active": 0, "paused": 0, "completed": 0, "failed": 0 } }}Device
List the WhatsApp numbers / devices connected to your workspace and check each one's connection status.
Media
Upload a file once (multipart / form-data, field name `file`, up to 16 MB) and get back a hosted public URL you can reuse across sends — for example a PDF to use as a document-header on a template, or an image on a message.