# Create configuration

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/social_logins/configurations:
    post:
      summary: Create configuration
      deprecated: false
      description: Create social login configuration
      tags:
        - API Reference/Management API/Core/Social Logins
      parameters:
        - name: Content-Type
          in: header
          description: '[Details](doc-341635)'
          required: true
          example: application/json
          schema:
            type: string
            default: application/json
            const: application/json
        - name: X-User-Agent
          in: header
          description: Arbitrary identifier of your client. [Details](doc-341635)
          required: true
          example: '{{X_USER_AGENT}}'
          schema:
            type: string
            default: '{{X_USER_AGENT}}'
        - name: X-Product-Name
          in: header
          description: API Product for API context. [Details](doc-341635)
          required: true
          example: '{{PRODUCT_NAME}}'
          schema:
            type: string
            default: '{{PRODUCT_NAME}}'
        - name: X-Loyalty-Club-Slug
          in: header
          description: LoyaltyClub for API context. [Details](doc-342138)
          required: false
          example: '{{LOYALTY_CLUB_SLUG}}'
          schema:
            type: string
            default: '{{LOYALTY_CLUB_SLUG}}'
        - name: Authorization
          in: header
          description: '[Member](doc-342129) or [User](doc-342130) Authorization.'
          required: false
          example: Bearer {{_OAUTH_TOKEN}}
          schema:
            type: string
            default: Bearer {{_OAUTH_TOKEN}}
        - name: X-Client-Authorization
          in: header
          description: '[Token](doc-342128) Authorization.'
          example: '{{API_TOKEN}}'
          schema:
            type: string
            default: '{{API_TOKEN}}'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                social_login:
                  type: object
                  properties:
                    name:
                      type: string
                    type:
                      type: string
                      enum:
                        - google
                        - apple
                      x-apidog-enum:
                        - value: google
                          name: ''
                          description: ''
                        - value: apple
                          name: ''
                          description: ''
                    config:
                      type: object
                      properties:
                        client_id:
                          type: string
                      x-apidog-orders:
                        - client_id
                      required:
                        - client_id
                      x-apidog-ignore-properties: []
                  x-apidog-orders:
                    - name
                    - type
                    - config
                  required:
                    - name
                    - type
                    - config
                  x-apidog-ignore-properties: []
              x-apidog-orders:
                - social_login
              x-apidog-ignore-properties: []
            example:
              social_login:
                name: Ronnie Walker
                type: google
                config:
                  client_id: eiusmod
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  social_login:
                    $ref: '#/components/schemas/social_login.configuration'
                x-apidog-orders:
                  - social_login
                required:
                  - social_login
                x-apidog-ignore-properties: []
              example:
                social_login:
                  name: defaeco
                  type: google
                  loyalty_club_id: 4605
                  config:
                    client_id: dolore eiusmod occaecat est
                  created_at: '2025-01-22T14:02:43.813Z'
                  updated_at: '2025-01-22T14:02:43.815Z'
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: API Reference/Management API/Core/Social Logins
      x-apidog-status: released
      x-run-in-apidog: https://app.eu.apidog.com/web/project/346351/apis/api-3662590-run
components:
  schemas:
    social_login.configuration:
      type: object
      properties:
        name:
          type: string
          x-apidog-mock: '{{$lorem.word}}'
        type:
          type: string
          enum:
            - google
            - apple
          x-apidog-enum:
            - value: google
              name: ''
              description: ''
            - value: apple
              name: ''
              description: ''
          description: type of social login
        loyalty_club_id:
          type: integer
          minimum: 1
          maximum: 9000
        config:
          type: object
          properties:
            client_id:
              type: string
          x-apidog-orders:
            - client_id
          required:
            - client_id
          description: structure according to type
          x-apidog-ignore-properties: []
        created_at:
          type: string
          x-apidog-mock: '{{$date.isoTimestamp}}'
        updated_at:
          type: string
          x-apidog-mock: '{{$date.isoTimestamp}}'
      x-apidog-orders:
        - name
        - type
        - loyalty_club_id
        - config
        - created_at
        - updated_at
      required:
        - name
        - type
        - loyalty_club_id
        - config
        - created_at
        - updated_at
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.mpc.dev.placewise.com
    description: Staging
security: []

```