> For the complete documentation index, see [llms.txt](https://apidocs.akinon.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.akinon.com/commerce-openapis/data-warehouse/social-account.md).

# Social Account

## GET /social-account/accounts/

> This method returns details about a specific social account, including its ID, provider (e.g., 'facebook'), UID, last login date, date joined, and any additional data. It also includes the associated user ID.

```json
{"openapi":"3.0.3","info":{"title":"Data Warehouse","version":"1.0.0"},"servers":[{"description":"Server base URL with dynamic channel_id.","url":"https://{omnitron_url}/api/v1/remote/{channel_id}/data-warehouse","variables":{"channel_id":{"default":"1","description":"Unique identifier for the sales channel."},"omnitron_url":{"default":"sandbox.akinon.com"}}},{"description":"Server base URL with Commerce URL.","url":"https://{commerce_url}/api/v1/data-warehouse","variables":{"commerce_url":{"default":"sandbox.commerce.akinon.com"}}}],"security":[{"tokenAuth":[]}],"components":{"securitySchemes":{"tokenAuth":{"description":"Token-based authentication with required prefix \"Token\"","in":"header","name":"Authorization","type":"apiKey"}},"schemas":{"PaginatedSocialAccountList":{"properties":{"count":{"description":"Numerical value representing quantity or total amount.","type":"integer"},"next":{"description":"This field defines the URL of the next page.","format":"uri","nullable":true,"type":"string"},"previous":{"description":"This field defines the URL of the previous page.","format":"uri","nullable":true,"type":"string"},"results":{"description":"This field returns a list of results.","items":{"$ref":"#/components/schemas/SocialAccount"},"type":"array"}},"type":"object"},"SocialAccount":{"properties":{"date_joined":{"description":"The field defines the date when the user registered using a social account.","format":"date-time","title":"Katılma tarihi","type":"string"},"extra_data":{"description":"The field defines the extra data related to the social account provider.","type":"string"},"id":{"description":"Unique identifier for the record.","type":"integer"},"last_login":{"description":"The field defines the last login date of the user.","format":"date-time","title":"Son oturum açma","type":"string"},"provider":{"allOf":[{"$ref":"#/components/schemas/ProviderEnum"}],"description":"The field defines the social account provider. e.g. **akifast, facebook, apple, …**","title":"Sağlayıcı"},"uid":{"description":"The field defines the unique UID of the social account.","maxLength":191,"type":"string"},"user":{"description":"This field defines the user who triggered the event.","type":"integer"}},"type":"object"},"ProviderEnum":{"description":"* `facebook` - Facebook\n* `apple` - Apple\n* `apple_mobile` - Apple Mobile\n* `akifast` - Akifast\n* `turkcell` - Turkcell\n* `google` - Google\n* `google_mobile` - Google Mobile\n* `jwt_sso` - JWT SSO","enum":["facebook","apple","apple_mobile","akifast","turkcell","google","google_mobile","jwt_sso"],"type":"string"}}},"paths":{"/social-account/accounts/":{"get":{"description":"This method returns details about a specific social account, including its ID, provider (e.g., 'facebook'), UID, last login date, date joined, and any additional data. It also includes the associated user ID.","operationId":"social_account_accounts_list","parameters":[{"description":"Query parameter `date_joined` used to filter results based on specific conditions.","in":"query","name":"date_joined","schema":{"format":"date-time","type":"string"}},{"description":"Query parameter `extra_data` used to filter results based on specific conditions.","in":"query","name":"extra_data","schema":{"type":"string"}},{"description":"Query parameter `id` used to filter results based on specific conditions.","in":"query","name":"id","schema":{"type":"integer"}},{"description":"Filters records where `id` is greater than the given value.","in":"query","name":"id__gt","schema":{"type":"integer"}},{"description":"Filters records where `id` is greater than or equal to the given value.","in":"query","name":"id__gte","schema":{"type":"integer"}},{"description":"Filters records where `id` is less than the given value.","in":"query","name":"id__lt","schema":{"type":"integer"}},{"description":"Filters records where `id` is less than or equal to the given value.","in":"query","name":"id__lte","schema":{"type":"integer"}},{"description":"Query parameter `last_login` used to filter results based on specific conditions.","in":"query","name":"last_login","schema":{"format":"date-time","type":"string"}},{"description":"Limits the number of results returned in the response.","in":"query","name":"limit","required":false,"schema":{"type":"integer"}},{"description":"Query parameter `page` used to filter results based on specific conditions.","in":"query","name":"page","required":false,"schema":{"type":"integer"}},{"description":"Query parameter `provider` used to filter results based on specific conditions.","in":"query","name":"provider","schema":{"type":"string"}},{"description":"Query parameter `sort` used to filter results based on specific conditions.","in":"query","name":"sort","required":false,"schema":{"type":"string"}},{"description":"Query parameter `uid` used to filter results based on specific conditions.","in":"query","name":"uid","schema":{"type":"string"}},{"description":"Query parameter `user` used to filter results based on specific conditions.","in":"query","name":"user","schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSocialAccountList"}}},"description":"Successful response for status code 200."}},"tags":["social-account"]}}}}
```

## GET /social-account/accounts/{id}/

> This method returns details about a specific social account, including its ID, provider (e.g., 'facebook'), UID, last login date, date joined, and any additional data. It also includes the associated user ID. This endpoint retrieves a specific record by its unique identifier.

```json
{"openapi":"3.0.3","info":{"title":"Data Warehouse","version":"1.0.0"},"servers":[{"description":"Server base URL with dynamic channel_id.","url":"https://{omnitron_url}/api/v1/remote/{channel_id}/data-warehouse","variables":{"channel_id":{"default":"1","description":"Unique identifier for the sales channel."},"omnitron_url":{"default":"sandbox.akinon.com"}}},{"description":"Server base URL with Commerce URL.","url":"https://{commerce_url}/api/v1/data-warehouse","variables":{"commerce_url":{"default":"sandbox.commerce.akinon.com"}}}],"security":[{"tokenAuth":[]}],"components":{"securitySchemes":{"tokenAuth":{"description":"Token-based authentication with required prefix \"Token\"","in":"header","name":"Authorization","type":"apiKey"}},"schemas":{"SocialAccount":{"properties":{"date_joined":{"description":"The field defines the date when the user registered using a social account.","format":"date-time","title":"Katılma tarihi","type":"string"},"extra_data":{"description":"The field defines the extra data related to the social account provider.","type":"string"},"id":{"description":"Unique identifier for the record.","type":"integer"},"last_login":{"description":"The field defines the last login date of the user.","format":"date-time","title":"Son oturum açma","type":"string"},"provider":{"allOf":[{"$ref":"#/components/schemas/ProviderEnum"}],"description":"The field defines the social account provider. e.g. **akifast, facebook, apple, …**","title":"Sağlayıcı"},"uid":{"description":"The field defines the unique UID of the social account.","maxLength":191,"type":"string"},"user":{"description":"This field defines the user who triggered the event.","type":"integer"}},"type":"object"},"ProviderEnum":{"description":"* `facebook` - Facebook\n* `apple` - Apple\n* `apple_mobile` - Apple Mobile\n* `akifast` - Akifast\n* `turkcell` - Turkcell\n* `google` - Google\n* `google_mobile` - Google Mobile\n* `jwt_sso` - JWT SSO","enum":["facebook","apple","apple_mobile","akifast","turkcell","google","google_mobile","jwt_sso"],"type":"string"}}},"paths":{"/social-account/accounts/{id}/":{"get":{"description":"This method returns details about a specific social account, including its ID, provider (e.g., 'facebook'), UID, last login date, date joined, and any additional data. It also includes the associated user ID. This endpoint retrieves a specific record by its unique identifier.","operationId":"social_account_accounts_retrieve","parameters":[{"description":"A unique integer value identifying this social account.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialAccount"}}},"description":"Successful response for status code 200."},"404":{"content":{"application/json":{}},"description":"Object not found."}},"tags":["social-account"]}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://apidocs.akinon.com/commerce-openapis/data-warehouse/social-account.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
