Skip to main content

Get Association Data

curl -X GET https://api.sociapp.com/configuracion/datos \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "Nombre": "Asociación de Vecinos del Barrio",
  "CIF": "G12345678",
  "Direccion": "Calle Principal 123",
  "CP": 28001,
  "Telefono": "+34 912345678",
  "Email": "[email protected]",
  "Web": "https://asociacion.com"
}

Endpoint

GET /configuracion/datos

Authentication

Requires JWT authentication token.

Response Fields

Nombre
string
required
Association name
CIF
string
required
Tax identification number (CIF)
Direccion
string
Street address
CP
number
Postal code
Telefono
string
Contact phone number
Email
string
Contact email address
Web
string
Website URL

Update Association Data

curl -X PUT https://api.sociapp.com/configuracion/datos \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "Nombre": "Asociación de Vecinos del Barrio",
    "CIF": "G12345678",
    "Direccion": "Calle Principal 123",
    "CP": 28001,
    "Telefono": "+34 912345678",
    "Email": "[email protected]",
    "Web": "https://asociacion.com"
  }'
{
  "Nombre": "Asociación de Vecinos del Barrio",
  "CIF": "G12345678",
  "Direccion": "Calle Principal 123",
  "CP": 28001,
  "Telefono": "+34 912345678",
  "Email": "[email protected]",
  "Web": "https://asociacion.com"
}

Endpoint

PUT /configuracion/datos

Authentication

Requires JWT authentication token.

Request Body

Nombre
string
required
Association name (required)
CIF
string
required
Tax identification number (required)
Direccion
string
Street address
CP
number
Postal code
Telefono
string
Contact phone number
Email
string
Contact email address
Web
string
Website URL

Notes

  • This endpoint performs an upsert operation (insert or update)
  • If no association data exists, it creates a new record
  • If association data already exists, it updates the existing record
  • Nombre and CIF are required fields and will return a 400 error if missing

Build docs developers (and LLMs) love