Skip to content

Can request export token

given: "Alice" created an actor on "abel" called "Alice"

send.Alice.request.create_actor
{
  "base_url": "http://abel",
  "preferred_username": "Alice",
  "profile": {},
  "automatically_accept_followers": null,
  "name": null
}
receive.Alice.response.create_actor
{
  "attachment": null,
  "published": "2025-12-19T09:49:14.000935",
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/v1",
    {
      "manuallyApprovesFollowers": "as:manuallyApprovesFollowers"
    }
  ],
  "publicKey": {
    "id": "http://abel/actor/J_Kb1CVsP_eEk8F3X9Chuw#legacy-key-1",
    "owner": "http://abel/actor/J_Kb1CVsP_eEk8F3X9Chuw",
    "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvm6L1wXf1AHwwoemzSgH\n0k/rNHKq7LIkeqkmhY/gJqhawGzMQeJeWBrG4SQUqBjXGcrhURfy6dhV0B+cxZxq\ncxtfWGgwQqBtNx46oTvliT/EneMqMoFnRR+U/DsI2iLJXemSY+m122SJKScMq8NR\n0cbm9JdjnAsfyzmdmw83u1iQTPDHciMPriEI4dzTxUPfQtyXLrWNse6XkhqCP0SF\nDlBS/j4oJ51NCu7qXJtYqq1YwHLPzFPk5CdcY86T1pXW9cCv8dQur7cgd4Y58Cqn\n+UQZ7f1CJ9vDtQxGnJWY7JG7zCbtukFk6/wgZWn7HXG5ApjkrHyJSDKXv3VHtnT0\nYwIDAQAB\n-----END PUBLIC KEY-----\n"
  },
  "id": "http://abel/actor/J_Kb1CVsP_eEk8F3X9Chuw",
  "type": "Person",
  "inbox": "http://abel/inbox/wCduXhH9aBKwVmf73sPZ8A",
  "outbox": "http://abel/actor/J_Kb1CVsP_eEk8F3X9Chuw/outbox",
  "followers": "http://abel/actor/J_Kb1CVsP_eEk8F3X9Chuw/followers",
  "following": "http://abel/actor/J_Kb1CVsP_eEk8F3X9Chuw/following",
  "preferredUsername": "Alice",
  "name": "Alice",
  "identifiers": [
    "acct:Alice@abel",
    "http://abel/actor/J_Kb1CVsP_eEk8F3X9Chuw"
  ],
  "endpoints": {
    "sharedInbox": "http://abel/shared_inbox"
  },
  "manuallyApprovesFollowers": true
}

when: "Alice" requests an export token

send.Alice.trigger.html_display_export
{
  "actor": "http://abel/actor/J_Kb1CVsP_eEk8F3X9Chuw"
}
receive.Alice.response.trigger
{
  "actor": "http://abel/actor/J_Kb1CVsP_eEk8F3X9Chuw",
  "token": "07e19ff6-90c2-416d-b225-31bc9906f13e",
  "export_url": "http://abel/@uWIGfnNBACFm/export?token=07e19ff6-90c2-416d-b225-31bc9906f13e"
}

when: The export url is retrieved

then: The response code is "200"