Skip to content

get_connection

Where a connect_channel attempt stands. 'pending': the user has not finished yet (ask again shortly). 'done': channels lists what was connected or refreshed. 'choose': the sign-in reached several new channels (e.g. Facebook Pages) — ask the user which to add, then call choose_channels; refreshed lists channels that were already connected and just got new access. 'error': why it failed. Needs the channels permission. Also available as the MCP tool get_connection.

POST
https://mixetape.com/api/v1/tools/get_connection

Authorisation

  • apiKeyHTTPrequired

Request bodyJSONrequired

  • statestringrequired

    The state connect_channel returned

Returns

200

The tool's result.

JSON
  • resultunknownrequired

    What the tool returns

400

The request is invalid; error says why.

JSON
  • errorstringrequired

    What went wrong, in plain words

401

No valid API key.

JSON
  • errorstringrequired

    What went wrong, in plain words

403

The key lacks the permission this needs.

JSON
  • errorstringrequired

    What went wrong, in plain words

404

Not found, or not yours.

JSON
  • errorstringrequired

    What went wrong, in plain words

Navigation

Type to search…

↑↓ navigate↵ selectEsc close