Skip to content

Get a webhook

One webhook, with how its last delivery went.

Needs the webhooks permission.

GET
https://mixetape.com/api/v1/webhooks/{id}
PermissionwebhooksWorks on

Authorisation

  • apiKeyHTTPrequired

Path parameters

  • idstringrequired

    The webhook's id

Returns

200

The webhook.

JSON
  • webhookobjectrequired
    10 properties
    • idstringrequired
    • urlstringrequired
    • eventsarray ofpost.uploadedorpost.publishedorpost.failedorpost.cancelledoraccount.reconnect_neededrequired
    • enabledbooleanrequired

      Turned off by hand, or after 20 events in a row failed every retry

    • failuresintegerrequired

      Events in a row that failed every retry

    • createdAtstringrequired
      format: date-time
    • descriptionoptionalstring | null
    • lastDeliveryAtoptionalstring | null
      format: date-time
    • lastStatusoptionalinteger | null

      The endpoint's last HTTP status

    • lastErroroptionalstring | 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

404

Not found, or not yours.

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