# Check an address while setting a map up

`POST /crm/maps/geocode` · Rivier · contacts

Check an address while setting a map up: the place found (or none) and whether a real map service answered.

- Scope: contacts:write
- Graphql: Mutation.contactsMapGeocode
- Sdk: contacts.map.geocode
- Cli: contacts map geocode

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "minLength": 3,
      "maxLength": 300
    },
    "language": {
      "type": "string",
      "maxLength": 10
    }
  },
  "required": [
    "address"
  ],
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/crm/maps/geocode' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "address": "string"
}'
```
