Cleat
v1.1.0A real US mobile number that receives verification codes, by text or transcribed call.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_lines
List the US mobile lines in this API key's workspace, newest first. Every other tool takes a lineId from here.
list_messages
Recent texts and transcribed calls received by one line, newest first. Read `body` as well as `code`: `code` is a best-effort extraction and can be null.
| Parameter | Type | Description |
|---|---|---|
lineId * | string | The line's id, from list_lines. |
limit | integer | How many messages to return. 1 to 200. |
latest_code
The most recent verification code already on a line, or found: false if none has arrived. Use wait_for_code instead when the code has not been sent yet.
| Parameter | Type | Description |
|---|---|---|
lineId * | string | The line's id, from list_lines. |
from | string | Optional. Only consider senders containing this text, e.g. a short code. |
service | string | Optional. Only consider messages Cleat attributed to this service, e.g. 'facebook'. |
wait_for_code
Wait for the NEXT code to arrive on a line and return it. A code that was already in the inbox when the call started is never returned. Call this immediately before the step that sends the text, then complete that step while it waits.
| Parameter | Type | Description |
|---|---|---|
lineId * | string | The line's id, from list_lines. |
from | string | Optional. Only accept senders containing this text. |
service | string | Optional. Only accept messages Cleat attributed to this service. |
timeoutSeconds | integer | How long to wait. 1 to 300 seconds. |