Skip to content

List connected accounts

The connected channels, with their status and what each platform takes in one post. An account with status reconnect must be connected again before posting to it.

Needs the read permission.

GET
https://mixetape.com/api/v1/accounts
PermissionreadWorks on

Authorisation

  • apiKeyHTTPrequired

Returns

200

The accounts.

JSON
  • accountsarray ofobjectrequired
    8 properties
    • idstringrequired

      mixetape account id

    • provideryoutubeorfacebookorinstagramorthreadsortiktokorpinterest+2 morerequired
    • platformAccountIdstringrequired

      The platform's own id

    • namestringrequired
    • statusactiveorreconnectrequired

      reconnect: connect the channel again before posting to it

    • capabilitiesarray ofstatusorthumbnailsoreditingorcollectionsorcaptionsorcomments+1 morerequired

      What its platform supports beyond posting

    • formatsobjectrequired

      What one post can hold there: video, image, a carousel (min–max files and kinds), image types, video length, upright

    • handleoptionalstring | null

400

The request is invalid; error.code says how (invalid_field, missing_field, unknown_field, media_not_supported, …) and error.field which field.

JSON
  • errorobjectrequired
    3 properties
    • codeinvalid_requestorinvalid_fieldormissing_fieldorunknown_fieldorunauthorizedormissing_permission+22 morerequired

      A stable code to branch on:

      • invalid_request: The request is malformed, e.g. the body is not a JSON object
      • invalid_field: A field has the wrong type or value (see field)
      • missing_field: A required field is missing (see field)
      • unknown_field: A field this endpoint does not take, often a typo (see field)
      • unauthorized: No valid API key
      • missing_permission: The API key lacks the permission this needs
      • forbidden: Not allowed for this caller
      • not_found: Not found, or not yours
      • method_not_allowed: The path exists but not with this method
      • invalid_post_state: The post's status does not allow this, e.g. cancelling a published post
      • account_needs_reconnect: The channel must be connected again before it can post
      • file_not_ready: The file's upload is not finished
      • media_not_supported: The platform cannot take these files as one post
      • not_supported_by_platform: The platform has no such feature
      • nothing_to_publish: The selection or group has no files
      • already_exists: Something with that name already exists
      • conflict: Not possible in the current state
      • idempotency_key_reused: The Idempotency-Key was used before with a different request
      • idempotency_in_progress: A request with this Idempotency-Key is still running
      • source_unreachable: The file at the given URL could not be fetched; check it is public
      • platform_error: The platform refused or failed the call; the message says why
      • rate_limited: Too many requests; wait Retry-After seconds
      • platform_unavailable: mixetape cannot connect that platform yet
      • plan_required: The account has no active plan; choose one at /subscribe
      • channel_locked: The channel is locked: the plan covers fewer channels than are connected
      • channel_limit_reached: Connecting this would go past the channels the plan covers
      • daily_limit_reached: The channel already has the most posts allowed on that day
      • internal_error: Something failed on mixetape's side
    • messagestringrequired

      What went wrong, in plain words

    • fieldoptionalstring

      The input field it is about, if any

401

No valid API key.

JSON
  • errorobjectrequired
    3 properties
    • codeinvalid_requestorinvalid_fieldormissing_fieldorunknown_fieldorunauthorizedormissing_permission+22 morerequired

      A stable code to branch on:

      • invalid_request: The request is malformed, e.g. the body is not a JSON object
      • invalid_field: A field has the wrong type or value (see field)
      • missing_field: A required field is missing (see field)
      • unknown_field: A field this endpoint does not take, often a typo (see field)
      • unauthorized: No valid API key
      • missing_permission: The API key lacks the permission this needs
      • forbidden: Not allowed for this caller
      • not_found: Not found, or not yours
      • method_not_allowed: The path exists but not with this method
      • invalid_post_state: The post's status does not allow this, e.g. cancelling a published post
      • account_needs_reconnect: The channel must be connected again before it can post
      • file_not_ready: The file's upload is not finished
      • media_not_supported: The platform cannot take these files as one post
      • not_supported_by_platform: The platform has no such feature
      • nothing_to_publish: The selection or group has no files
      • already_exists: Something with that name already exists
      • conflict: Not possible in the current state
      • idempotency_key_reused: The Idempotency-Key was used before with a different request
      • idempotency_in_progress: A request with this Idempotency-Key is still running
      • source_unreachable: The file at the given URL could not be fetched; check it is public
      • platform_error: The platform refused or failed the call; the message says why
      • rate_limited: Too many requests; wait Retry-After seconds
      • platform_unavailable: mixetape cannot connect that platform yet
      • plan_required: The account has no active plan; choose one at /subscribe
      • channel_locked: The channel is locked: the plan covers fewer channels than are connected
      • channel_limit_reached: Connecting this would go past the channels the plan covers
      • daily_limit_reached: The channel already has the most posts allowed on that day
      • internal_error: Something failed on mixetape's side
    • messagestringrequired

      What went wrong, in plain words

    • fieldoptionalstring

      The input field it is about, if any

403

The key lacks the permission this needs.

JSON
  • errorobjectrequired
    3 properties
    • codeinvalid_requestorinvalid_fieldormissing_fieldorunknown_fieldorunauthorizedormissing_permission+22 morerequired

      A stable code to branch on:

      • invalid_request: The request is malformed, e.g. the body is not a JSON object
      • invalid_field: A field has the wrong type or value (see field)
      • missing_field: A required field is missing (see field)
      • unknown_field: A field this endpoint does not take, often a typo (see field)
      • unauthorized: No valid API key
      • missing_permission: The API key lacks the permission this needs
      • forbidden: Not allowed for this caller
      • not_found: Not found, or not yours
      • method_not_allowed: The path exists but not with this method
      • invalid_post_state: The post's status does not allow this, e.g. cancelling a published post
      • account_needs_reconnect: The channel must be connected again before it can post
      • file_not_ready: The file's upload is not finished
      • media_not_supported: The platform cannot take these files as one post
      • not_supported_by_platform: The platform has no such feature
      • nothing_to_publish: The selection or group has no files
      • already_exists: Something with that name already exists
      • conflict: Not possible in the current state
      • idempotency_key_reused: The Idempotency-Key was used before with a different request
      • idempotency_in_progress: A request with this Idempotency-Key is still running
      • source_unreachable: The file at the given URL could not be fetched; check it is public
      • platform_error: The platform refused or failed the call; the message says why
      • rate_limited: Too many requests; wait Retry-After seconds
      • platform_unavailable: mixetape cannot connect that platform yet
      • plan_required: The account has no active plan; choose one at /subscribe
      • channel_locked: The channel is locked: the plan covers fewer channels than are connected
      • channel_limit_reached: Connecting this would go past the channels the plan covers
      • daily_limit_reached: The channel already has the most posts allowed on that day
      • internal_error: Something failed on mixetape's side
    • messagestringrequired

      What went wrong, in plain words

    • fieldoptionalstring

      The input field it is about, if any

429

Over 120 requests a minute (rate_limited); wait and retry.

JSON
  • errorobjectrequired
    3 properties
    • codeinvalid_requestorinvalid_fieldormissing_fieldorunknown_fieldorunauthorizedormissing_permission+22 morerequired

      A stable code to branch on:

      • invalid_request: The request is malformed, e.g. the body is not a JSON object
      • invalid_field: A field has the wrong type or value (see field)
      • missing_field: A required field is missing (see field)
      • unknown_field: A field this endpoint does not take, often a typo (see field)
      • unauthorized: No valid API key
      • missing_permission: The API key lacks the permission this needs
      • forbidden: Not allowed for this caller
      • not_found: Not found, or not yours
      • method_not_allowed: The path exists but not with this method
      • invalid_post_state: The post's status does not allow this, e.g. cancelling a published post
      • account_needs_reconnect: The channel must be connected again before it can post
      • file_not_ready: The file's upload is not finished
      • media_not_supported: The platform cannot take these files as one post
      • not_supported_by_platform: The platform has no such feature
      • nothing_to_publish: The selection or group has no files
      • already_exists: Something with that name already exists
      • conflict: Not possible in the current state
      • idempotency_key_reused: The Idempotency-Key was used before with a different request
      • idempotency_in_progress: A request with this Idempotency-Key is still running
      • source_unreachable: The file at the given URL could not be fetched; check it is public
      • platform_error: The platform refused or failed the call; the message says why
      • rate_limited: Too many requests; wait Retry-After seconds
      • platform_unavailable: mixetape cannot connect that platform yet
      • plan_required: The account has no active plan; choose one at /subscribe
      • channel_locked: The channel is locked: the plan covers fewer channels than are connected
      • channel_limit_reached: Connecting this would go past the channels the plan covers
      • daily_limit_reached: The channel already has the most posts allowed on that day
      • internal_error: Something failed on mixetape's side
    • messagestringrequired

      What went wrong, in plain words

    • fieldoptionalstring

      The input field it is about, if any

Navigation

Type to search…

↑↓ navigate↵ selectEsc close