Connect a computer: one-time token for `skillpouch login <token>`
POST
/v1/cli-auth/connect-tokens
const url = 'https://app.skillpouch.net/v1/cli-auth/connect-tokens';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.skillpouch.net/v1/cli-auth/connect-tokensResponses
Section titled “Responses”Default Response
Media typeapplication/json
object
ok
required
boolean
data
required
object
id
required
string format: uuid
token
required
string
command
required
string
expires_at
required
string format: date-time
meta
required
object
request_id
required
string
next_cursor
string | null
Example
{ "ok": true}