api

  1. developr

    API: no permissions after creating a node

    Hi there, when I create a node via the endpoint /nodes/ the node is not visible in the frontend and I have no permission to update or delete these node. You are only able to update or delete via API after a forums rebuild. Subforums are only visible after editing some forum manually.
  2. Mangini

    WordPress bridge plugin (beta) - user verify, thread replies, conversations, and more

    Over the last few months since switching my forums to XenForo I have been building the addon I've always wanted since I started selling my products online - a way to let my customers verify themselves to my support forums. In years of selling products online I have been manually promoting new...
  3. developr

    API endpoint: profile-posts

    Hi there, The parameter "message" is missing in the docs. API endpoint: https://xenforo.com/community/pages/api-endpoints/#route_post_profile_posts_ In the file the required parameters are listed: /** * @api-desc Creates a new profile post. * * @api-in int $user_id <req> The ID...
  4. developr

    XF 2.1 REST API attachment_key_context_wrong

    Hi there, I want to upload files via the Rest Api. If I reply to an existing conversation or post I have to create a new attachment_key with POST to attachments/new-key containing a context. Which format is expected for the context? This code doesn't work. $attach_param = array( 'type' =>...
  5. B

    XF 2.1 What is the best way to update multiple users using the API?

    Hi, I have been using PostMan for my API requests, but I'm happy to try another method if it is easier. I would like to update the secondary_group_ids of about 60 different users. There could be up to 4 different values for the secondary_group_ids, for each user. This just needs to be run...
  6. JohnLR

    XF 2.1 404 Not Found API Endpoint

    Hi xenForo Community, Hopefully this is the right section, I apologise if this isn't. Currently have an issue with the API Endpoint, here's the server details: xenForo: v2.1.10 Patch 2 PHP: 7.4.9 MySQL: 10.3.23-MariaDB Web: nginx/1.19.1 I've followed...
  7. ActorMike

    Fixed Yahoo Connected Accounts- Please enter a value for the required field 'provider_key'.

    This stopped working sometime recently, although Yahoo sends emails and says "Your Yahoo account XXXXXX was just used to sign in on XXXXXXXX Forum Member Login. If you did this, you’re all set after a registration or login attempt. First, I can confirm I've followed all the directions here. I...
  8. developr

    XF 2.1 File upload via API

    I want to add avatars to users via the xenforo api. function apiCall($action,$scope,$post,$upload=0) { $headers = array( 'Content-type: application/x-www-form-urlencoded', 'XF-Api-User: 1', 'XF-Api-Key: '.APIKEY ); if(!$upload) { $post =...
  9. MarcoBrassat

    XF 2.1 Create conversation with API httprequest

    Hello, everyone, I would like to send an HTTP request via API key so that I can start a conversation with a specific user. Unfortunately I get an error while sending the request. Let's take as an example, the user has the ID 1020. Then I call...
  10. J

    XF 2.1 Django Integration with XF | Account Creation

    Hello, I have Django application and XF setting next to each other. XF is hosted under mysite.com/community and Django is hosted under mysite.com/django. Django hosts some stuff that users need to gain access to. I decided to use XF for user management meaning that users will have to create XF...
  11. R

    XF 2.1 Connected Accounts API?

    Is there any API for use with Connected Accounts? My site automatically registers an account on the forum, and the question is - can I also link forum account with any other account automatically? Is there any public API for that?
  12. NikitOS

    XF 2.1 Using API methods without an API key

    Hello There was a need to use some API methods without an API key, is this possible? As I see, the API key is required in any case, although I noticed that there is a “for the future” fragment in the code in which guest access is created, now it does not work (?) PS I'm doing something like...
  13. Kao

    Not a bug "Please enter at least one valid recipient" despite having recipients in API request

    I've been trying to make a POST API request /api/conversations?recipient_ids=1&title=test&message=test and I only get the error that I need to enter at least one valid recipient. I've tried multiple user IDs, and the user whose this API key is taken from has the permission to message these...
  14. Kruzya

    Fixed Update user with API doesn't work if using API bypass permissions

    Steps to reproduce: Log into ACP. Create Super user key with access to user:write. Try use method users/{id}/ with api_bypass_permissions=1 Received result: I got server_error_occured (see details from log entry below). Expected result: No one error has been thrown (or another, not...
  15. A

    XF 2.1 How to upload an attachment using the API?

    I read the manual, but it doesn't work yet https://xenforo.com/community/pages/api-endpoints/#route_post_attachments_ https://xenforo.com/community/pages/api-endpoints/#route_post_attachments_new_key Does anyone have an example in PHP or Python ? Thanks
  16. Earl

    Fixed By using API, You can create resource categories which has invalid parents, then they become ghost categories

    Summary: By making an API (superuser key with resource_category:write scope enabled) request, you can create resource categories which has invalid parent IDs. Then they become invisible in resource categories page in the admin panel and resource index. Steps to reproduce: Create category:write...
  17. B

    RM 2.1 upload attachments using api

    how can i upload attachments using api? please show sample
  18. K

    Xenforo oAuth2 implementation

    Hey all, I've been looking for the following feature in XenForo 2+. To use the XenForo 2 user accounts for other services with oAuth2. I've been looking for such a feature for quite a while now, and I just found this link to an add-on that should add this feature. However I am unsure if this...
  19. sub_ubi

    Fixed API call to resource by id returns an error

    a call to api/resources/{id} returns the following error, { "errors": [ { "code": "server_error_occurred", "message": "A server error occurred during the API request. Please try again later.", "params": [] } ], "exception": {...
  20. szymme

    XF 2 Xenforo with KlickTipp API Connection

    Dear developers, Im looking for someone who can help me to connect the KLICKTIPP.DE API with the Xenforo Registration. That means, that the users who register on my xenforo site will be added too to the "KlickTipp E-Mail List" database. Here is the to do in german: Klick-Tipp |...
Top