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/accountsPermission
readWorks onAll platformsAuthorisation
Returns
200
The accounts.
JSON
400
The request is invalid; error.code says how (invalid_field, missing_field, unknown_field, media_not_supported, …) and error.field which field.
JSON
- errorobject{ … }required
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 objectinvalid_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 keymissing_permission: The API key lacks the permission this needsforbidden: Not allowed for this callernot_found: Not found, or not yoursmethod_not_allowed: The path exists but not with this methodinvalid_post_state: The post's status does not allow this, e.g. cancelling a published postaccount_needs_reconnect: The channel must be connected again before it can postfile_not_ready: The file's upload is not finishedmedia_not_supported: The platform cannot take these files as one postnot_supported_by_platform: The platform has no such featurenothing_to_publish: The selection or group has no filesalready_exists: Something with that name already existsconflict: Not possible in the current stateidempotency_key_reused: The Idempotency-Key was used before with a different requestidempotency_in_progress: A request with this Idempotency-Key is still runningsource_unreachable: The file at the given URL could not be fetched; check it is publicplatform_error: The platform refused or failed the call; the message says whyrate_limited: Too many requests; wait Retry-After secondsplatform_unavailable: mixetape cannot connect that platform yetplan_required: The account has no active plan; choose one at /subscribechannel_locked: The channel is locked: the plan covers fewer channels than are connectedchannel_limit_reached: Connecting this would go past the channels the plan coversdaily_limit_reached: The channel already has the most posts allowed on that dayinternal_error: Something failed on mixetape's side
401
No valid API key.
JSON
- errorobject{ … }required
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 objectinvalid_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 keymissing_permission: The API key lacks the permission this needsforbidden: Not allowed for this callernot_found: Not found, or not yoursmethod_not_allowed: The path exists but not with this methodinvalid_post_state: The post's status does not allow this, e.g. cancelling a published postaccount_needs_reconnect: The channel must be connected again before it can postfile_not_ready: The file's upload is not finishedmedia_not_supported: The platform cannot take these files as one postnot_supported_by_platform: The platform has no such featurenothing_to_publish: The selection or group has no filesalready_exists: Something with that name already existsconflict: Not possible in the current stateidempotency_key_reused: The Idempotency-Key was used before with a different requestidempotency_in_progress: A request with this Idempotency-Key is still runningsource_unreachable: The file at the given URL could not be fetched; check it is publicplatform_error: The platform refused or failed the call; the message says whyrate_limited: Too many requests; wait Retry-After secondsplatform_unavailable: mixetape cannot connect that platform yetplan_required: The account has no active plan; choose one at /subscribechannel_locked: The channel is locked: the plan covers fewer channels than are connectedchannel_limit_reached: Connecting this would go past the channels the plan coversdaily_limit_reached: The channel already has the most posts allowed on that dayinternal_error: Something failed on mixetape's side
403
The key lacks the permission this needs.
JSON
- errorobject{ … }required
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 objectinvalid_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 keymissing_permission: The API key lacks the permission this needsforbidden: Not allowed for this callernot_found: Not found, or not yoursmethod_not_allowed: The path exists but not with this methodinvalid_post_state: The post's status does not allow this, e.g. cancelling a published postaccount_needs_reconnect: The channel must be connected again before it can postfile_not_ready: The file's upload is not finishedmedia_not_supported: The platform cannot take these files as one postnot_supported_by_platform: The platform has no such featurenothing_to_publish: The selection or group has no filesalready_exists: Something with that name already existsconflict: Not possible in the current stateidempotency_key_reused: The Idempotency-Key was used before with a different requestidempotency_in_progress: A request with this Idempotency-Key is still runningsource_unreachable: The file at the given URL could not be fetched; check it is publicplatform_error: The platform refused or failed the call; the message says whyrate_limited: Too many requests; wait Retry-After secondsplatform_unavailable: mixetape cannot connect that platform yetplan_required: The account has no active plan; choose one at /subscribechannel_locked: The channel is locked: the plan covers fewer channels than are connectedchannel_limit_reached: Connecting this would go past the channels the plan coversdaily_limit_reached: The channel already has the most posts allowed on that dayinternal_error: Something failed on mixetape's side
429
Over 120 requests a minute (rate_limited); wait and retry.
JSON
- errorobject{ … }required
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 objectinvalid_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 keymissing_permission: The API key lacks the permission this needsforbidden: Not allowed for this callernot_found: Not found, or not yoursmethod_not_allowed: The path exists but not with this methodinvalid_post_state: The post's status does not allow this, e.g. cancelling a published postaccount_needs_reconnect: The channel must be connected again before it can postfile_not_ready: The file's upload is not finishedmedia_not_supported: The platform cannot take these files as one postnot_supported_by_platform: The platform has no such featurenothing_to_publish: The selection or group has no filesalready_exists: Something with that name already existsconflict: Not possible in the current stateidempotency_key_reused: The Idempotency-Key was used before with a different requestidempotency_in_progress: A request with this Idempotency-Key is still runningsource_unreachable: The file at the given URL could not be fetched; check it is publicplatform_error: The platform refused or failed the call; the message says whyrate_limited: Too many requests; wait Retry-After secondsplatform_unavailable: mixetape cannot connect that platform yetplan_required: The account has no active plan; choose one at /subscribechannel_locked: The channel is locked: the plan covers fewer channels than are connectedchannel_limit_reached: Connecting this would go past the channels the plan coversdaily_limit_reached: The channel already has the most posts allowed on that dayinternal_error: Something failed on mixetape's side