OWN3D Pro API
Information: We're about to merge own3d.pro and own3d.tv API's.
Getting Started
The OWN3D Pro API is a RESTful API that allows you to access your own3d.pro account.
Step 1: Create a new client
Before you getting started with the OWN3D Pro API, you need to create a new client. You can get the client id and secret by following the steps in the Client Registration section. If you already have a client, you can skip this step.
Step 2: Authenticate
After requesting your client id and secret, you need to authenticate yourself. This can be done by following the steps in the Authorization Code Flow section. If you call endpoints which require Scopes, you need to pass those scopes as a parameter to the authorize endpoint.
If you are familiar with laravel, you may want to check our own3d/id. It is a laravel package that provides a simple way to work with our API's.
Step 3: Get your own3d.pro account information
After you have authenticated yourself, you can get your own3d.pro account information by using the https://api.own3d.pro/v1/users endpoint with the access token you have received. An access token will be added as an Authorization header to the request.
curl -X GET https://api.own3d.pro/v1/users \
-H "Authorization: Bearer <access_token>"
API Deprecations
Sometimes we need to deprecate an API endpoint. This means that the endpoint will be removed in the future. If you are using an endpoint that is marked as deprecated, you should update your application as soon as possible. We will notify you about the deprecation of an endpoint at least 6 months before it will be removed.
2023-02-06
Deprecation of endpoints
- TBA
Deprecated attributes in api responses:
- Attribute
topicinPOST /v1/alerts/testis deprecated (renamed) and will be removed in the future. Please usetemplateinstead. - Attribute
categoriesofAlertis deprecated, usecategoriesinstead. - Attribute
alertofAlertConfigis deprecated, avoid using it (it's inaccurate). - Attribute
goalBarofGoalBarConfigis deprecated, usegoal_barinstead. - Attribute
profileImageofLinkspreeis deprecated, useprofile_imageinstead. - Attribute
backgroundImageofLinkspreeis deprecated, usebackground_imageinstead. - Attribute
currencyPriceofPlanis deprecated, usecurrency_priceinstead. - Attribute
latestPaymentofSubscriptionis deprecated, uselatest_paymentinstead. - Attribute
actingUserofUseris deprecated, useacting_userinstead. - Attribute
referralRewardofUseris deprecated, usereferral_rewardinstead. - Attribute
referralRewardsofUseris deprecated, usereferral_rewardsinstead.