Revoke an invite
API reference

Revoke an invite

Revokes a pending invite: its join link stops working at once. Returns the invite with `status: revoked`.

View as MarkdownUpdated Nov 1, 2026
DELETE/api/external/v1/agency/invites/{id}also served at /api/external/agency/invites/{id}New

Revokes a pending invite: its join link stops working at once. Returns the invite with status: revoked.

An accepted invite cannot be revoked — end the management with DELETE /agency/creators/{id} instead.

Authentication

Send the creator's API key as a bearer token: Authorization: Bearer dpfn_…. See Authentication & API keys.

Needs the agency's own key, sent without X-Dropfans-Account.

Path parameters

NameTypeRequiredDescription
idstringRequiredThe invite id (inviteId / id).

Responses

200The revoked invite.
NameTypeDescription
idstringThe invite’s id (inviteId when it was created).
statusstringaccepted once a creator used the link (it stays accepted), revoked after DELETE, expired 72 hours after creation, else pending.
One of: pending, accepted, expired, revoked
emailstring | nullThe address it was emailed to, or null.
Format: email
messagestring | nullThe personal note, or null.
createdAtstringWhen the invite was created.
Format: date-time
expiresAtstringWhen the link stops working.
Format: date-time
acceptedAtstring | nullWhen a creator accepted it, or null.
Format: date-time
acceptedBystring | nullThe account id that accepted it, or null.

Errors

StatusBodyWhen
400{"error":"Agency endpoints act as the agency itself — send them without X-Dropfans-Account.","code":"account_header_not_allowed"}The request carried `X-Dropfans-Account`. Agency endpoints always act as the agency.
401{"error":"Unauthorized","code":"unauthorized"}Missing or invalid API key.
403{"error":"This endpoint needs a verified agency's own API key.","code":"agency_key_required"}The key is not a verified agency’s own key — a creator’s key, or a key an agency minted for one of its creators.
404{"error":"Invite not found","code":"invite_not_found"}No such invite for this agency (another agency’s invite gets the same answer).
409{"error":"This invite was already accepted.","code":"invite_already_used"}A creator already used the link (`invite_already_revoked` when it was revoked before).
400{"error":"This endpoint acts as the key’s own account or app — call it without /creators/{creatorId}.","code":"creator_scope_not_allowed"}Called under /api/external/v1/creators/{creatorId}/ — this endpoint always acts as the key’s own account, agency or app.
403{"error":"This app does not have the agency API category enabled. Contact support to enable it.","code":"api_category_disabled","category":"agency"}Your app has the Agency roster [API category](/developers/concepts/api-categories) switched off.

Rate limiting

Every response carries the X-RateLimit-Tier header and, on limited tiers, the per-minute and per-day trios — read X-RateLimit-Remaining and X-RateLimit-Reset instead of hardcoding limits. Details in Rate limits.

Code samples

curl -X DELETE "https://www.dropfans.io/api/external/v1/agency/invites/$ACCOUNT_ID" \
  -H "Authorization: Bearer $DROPFANS_API_KEY"

Questions? [email protected]