Cleat

v1.1.0
so.cleat/cleat Checked 4 days ago Published 2 months ago

A 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.

ParameterTypeDescription
lineId *stringThe line's id, from list_lines.
limitintegerHow 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.

ParameterTypeDescription
lineId *stringThe line's id, from list_lines.
fromstringOptional. Only consider senders containing this text, e.g. a short code.
servicestringOptional. 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.

ParameterTypeDescription
lineId *stringThe line's id, from list_lines.
fromstringOptional. Only accept senders containing this text.
servicestringOptional. Only accept messages Cleat attributed to this service.
timeoutSecondsintegerHow long to wait. 1 to 300 seconds.